diff --git a/client/src/components/Workflow/Import/TrsSearch.vue b/client/src/components/Workflow/Import/TrsSearch.vue index eaf27326d374..fd3dbd686f77 100644 --- a/client/src/components/Workflow/Import/TrsSearch.vue +++ b/client/src/components/Workflow/Import/TrsSearch.vue @@ -14,6 +14,13 @@ import TrsServerSelection from "./TrsServerSelection.vue"; import TrsTool from "./TrsTool.vue"; import LoadingSpan from "@/components/LoadingSpan.vue"; +const props = defineProps({ + search: { + type: String, + default: null, + }, +}); + type TrsSearchData = { id: string; name: string; @@ -71,7 +78,7 @@ watch(query, async () => { function onTrsSelection(selection: TrsSelection) { trsSelection.value = selection; trsServer.value = selection.id; - query.value = ""; + query.value = props.search ? props.search : ""; } function onTrsSelectionError(message: string) { diff --git a/client/src/components/Workflow/WorkflowList.vue b/client/src/components/Workflow/WorkflowList.vue index 0501c31c6e78..afea55db2917 100644 --- a/client/src/components/Workflow/WorkflowList.vue +++ b/client/src/components/Workflow/WorkflowList.vue @@ -78,6 +78,17 @@ + +
+ + Get more workflows + +
+
diff --git a/client/src/entry/analysis/router.js b/client/src/entry/analysis/router.js index c0d6d8010bc6..220c6e02c763 100644 --- a/client/src/entry/analysis/router.js +++ b/client/src/entry/analysis/router.js @@ -536,6 +536,9 @@ export function getRouter(Galaxy) { { path: "workflows/trs_search", component: TrsSearch, + props: (route) => ({ + search: route.query.query, + }), }, { path: "workflows/:storedWorkflowId/invocations",