Skip to content

Commit

Permalink
Merge pull request #19010 from mvdbeek/fix_recursive_job_search_state…
Browse files Browse the repository at this point in the history
…ment_building

[24.0] Fix job search statement building
  • Loading branch information
mvdbeek authored Oct 16, 2024
2 parents cfc31bc + ced634a commit 638d13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def replace_dataset_ids(path, key, value):
else:
return []

query = query.where(*data_conditions).group_by(model.Job.id, *used_ids).order_by(model.Job.id.desc())
query = query.where(*data_conditions).group_by(model.Job.id, *used_ids).order_by(model.Job.id.desc())

for job in self.sa_session.execute(query):
# We found a job that is equal in terms of tool_id, user, state and input datasets,
Expand Down

0 comments on commit 638d13f

Please sign in to comment.