diff --git a/emgapi/models.py b/emgapi/models.py index 127b3ed10..e51921928 100644 --- a/emgapi/models.py +++ b/emgapi/models.py @@ -361,7 +361,7 @@ def available(self, request=None): Q(job__study__submission_account_id__iexact=_username, job__assembly__is_private=True) | Q(job__run__is_private=False) | Q(job__assembly__is_private=False), - Q(job_is_suppressed=False)] + Q(job__is_suppressed=False)] _query_filters['AssemblyExtraAnnotationQuerySet']['authenticated'] = \ [Q(assembly__samples__studies__submission_account_id__iexact=_username, is_private=True) |