about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/db/case_attributes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py
index a81bc07..645dec7 100644
--- a/gn3/db/case_attributes.py
+++ b/gn3/db/case_attributes.py
@@ -111,7 +111,7 @@ def __fetch_case_attrs_changes__(cursor, change_ids: tuple) -> list:
     placeholders = ','.join(['%s'] * len(change_ids))
     cursor.execute(
         "SELECT editor, json_diff_data, time_stamp "
-        f"FROM caseattributes_audit WHERE id IN ({placeholders})"
+        f"FROM caseattributes_audit WHERE id IN ({placeholders}) "
         "ORDER BY time_stamp DESC",
         change_ids
     )