Skip to content

Commit

Permalink
Add missing join condition in job search
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 19, 2023
1 parent 60b7d65 commit 635ec57
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 @@ -513,7 +513,7 @@ def replace_dataset_ids(path, key, value):
e = aliased(model.HistoryDatasetAssociation)
query = query.add_columns(a.dataset_collection_element_id)
query = (
query.join(a)
query.join(a, a.job_id == model.Job.id)
.join(b, b.id == a.dataset_collection_element_id)
.join(
c,
Expand Down

0 comments on commit 635ec57

Please sign in to comment.