From 886cd1b36e191c04c1a55ff36d3cee4223ba77b7 Mon Sep 17 00:00:00 2001 From: John Davis Date: Tue, 13 Aug 2024 10:51:24 -0400 Subject: [PATCH] Fix bug: remove parens --- lib/galaxy/webapps/galaxy/controllers/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/admin.py b/lib/galaxy/webapps/galaxy/controllers/admin.py index 7e788bb1cc0f..bd0ea3a06158 100644 --- a/lib/galaxy/webapps/galaxy/controllers/admin.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin.py @@ -73,7 +73,7 @@ def sort(self, trans, query, ascending, column_name=None): .group_by(model.GalaxySession.table.c.user_id) .subquery() ) - query = query.outerjoin((last_login_subquery, model.User.table.c.id == last_login_subquery.c.user_id)) + query = query.outerjoin(last_login_subquery, model.User.table.c.id == last_login_subquery.c.user_id) if not ascending: query = query.order_by((last_login_subquery.c.last_login).desc().nullslast())