From 8cd2d89b3e013a19220f9200d42ef1be032d9e70 Mon Sep 17 00:00:00 2001 From: Jackie Goldstein Date: Mon, 13 Nov 2023 16:18:59 -0500 Subject: [PATCH] fix --- batch/batch/front_end/query/query_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/batch/front_end/query/query_v1.py b/batch/batch/front_end/query/query_v1.py index dc849f543752..1e07b0d9d03a 100644 --- a/batch/batch/front_end/query/query_v1.py +++ b/batch/batch/front_end/query/query_v1.py @@ -74,7 +74,7 @@ def parse_list_batches_query_v1(user: str, q: str, last_batch_id: Optional[int]) args = [] elif t == 'success': # need complete because there might be no jobs - condition = "(`state` = 'complete' AND n_succeeded = n_jobs)" + condition = "(batches.`state` = 'complete' AND n_succeeded = n_jobs)" args = [] else: raise QueryError(f'Invalid search term: {t}.')