Skip to content

Commit

Permalink
Fix bug: remove parens
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Aug 13, 2024
1 parent 0bc1a46 commit 886cd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 886cd1b

Please sign in to comment.