Skip to content

Commit

Permalink
Merge branch 'release_24.1' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 16, 2024
2 parents 3e15aa0 + d772cbc commit b342cf5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/src/components/Workflow/List/WorkflowCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ async function onTagClick(tag: string) {
.workflow-card-header {
display: grid;
position: relative;
.workflow-count-actions {
display: flex;
Expand Down
4 changes: 4 additions & 0 deletions client/src/utils/redirect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ test("route prefix changes", async () => {
expect(withPrefix("http://")).toEqual("http://");
expect(withPrefix("/")).toEqual("/prefix/");
expect(withPrefix("/home")).toEqual("/prefix/home");
// keep protocols in query parameters intact
expect(withPrefix("/authz/cilogon/login?idphint=https://test.com")).toEqual(
"/prefix/authz/cilogon/login?idphint=https://test.com"
);
// ensure that it can only be called once
expect(withPrefix(withPrefix("/home"))).toEqual("/prefix/prefix/home");
// This doesn't do what it looks like it should do?
Expand Down
2 changes: 1 addition & 1 deletion client/src/utils/redirect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function reloadPage() {
window.location.reload();
}

const slashCleanup = /(\/)+/g;
const slashCleanup = /(?<!:)(\/)+/g;
/**
* Prepends the configured app root to given url
* @param path
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/managers/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def replace_dataset_ids(path, key, value):
else:
return []

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

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

0 comments on commit b342cf5

Please sign in to comment.