mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix workflow index total matches wrong count
This commit is contained in:
@@ -224,7 +224,7 @@ class WorkflowsManager(sharable.SharableModelManager, deletable.DeletableManager
|
||||
term,
|
||||
)
|
||||
)
|
||||
query = query.filter(model.StoredWorkflow.table.c.deleted == (true() if show_deleted else false()))
|
||||
query = query.filter(model.StoredWorkflow.table.c.deleted == (true() if show_deleted else false())).distinct()
|
||||
if include_total_count:
|
||||
total_matches = query.count()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user