From cc87d0621bf8c2bface72c3f284859aba31279e5 Mon Sep 17 00:00:00 2001 From: John Davis Date: Fri, 9 Feb 2024 16:16:18 -0500 Subject: [PATCH] Fix bug/typo: use select_from --- lib/galaxy/webapps/galaxy/controllers/tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/tag.py b/lib/galaxy/webapps/galaxy/controllers/tag.py index 56176d57ee1..3eb9f0fd612 100644 --- a/lib/galaxy/webapps/galaxy/controllers/tag.py +++ b/lib/galaxy/webapps/galaxy/controllers/tag.py @@ -140,7 +140,7 @@ class TagsController(BaseUIController, UsesTagsMixin): # Do query and get result set. query = ( select(item_tag_assoc_class.table.c.value, func.count()) - .select_from_obj(from_obj) + .select_from(from_obj) .where(where_clause) .group_by(item_tag_assoc_class.table.c.value) .order_by(func.count().desc(), item_tag_assoc_class.table.c.value)