Skip to content

Commit

Permalink
Merge pull request #16710 from mvdbeek/job_cache_fix_missing_join
Browse files Browse the repository at this point in the history
[23.1] Add missing join condition in job search
  • Loading branch information
mvdbeek authored Sep 19, 2023
2 parents 4bfd5b4 + 635ec57 commit f3f1d7b
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 f3f1d7b

Please sign in to comment.