mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix bug/typo: use select_from
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user