diff --git a/lib/galaxy/managers/workflows.py b/lib/galaxy/managers/workflows.py index 4feccda7a36b..8d7d352fb692 100644 --- a/lib/galaxy/managers/workflows.py +++ b/lib/galaxy/managers/workflows.py @@ -255,7 +255,7 @@ def name_filter(term): stmt = stmt.limit(payload.limit) if payload.offset is not None: stmt = stmt.offset(payload.offset) - return trans.sa_session.scalars(stmt), total_matches + return trans.sa_session.scalars(stmt).unique(), total_matches def get_stored_workflow(self, trans, workflow_id, by_stored_id=True) -> StoredWorkflow: """Use a supplied ID (UUID or encoded stored workflow ID) to find