From 1068c74cbe88aee6221364f8cfbe3d6c65e57c1c Mon Sep 17 00:00:00 2001
From: sandyr <sandyr@ebi.ac.uk>
Date: Mon, 15 Jan 2024 16:56:14 +0000
Subject: [PATCH] fixes typo

---
 emgapi/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) |