Skip to content

Commit

Permalink
Fix workflow index total matches wrong count
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Dec 12, 2023
1 parent 75c1122 commit fa585e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def name_filter(term):
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:
Expand Down

0 comments on commit fa585e1

Please sign in to comment.