From 345c96f99aa98d5e90a46fa3f175ec0a2e6d4f36 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 9 Jul 2022 11:49:39 +1000 Subject: Fix links-to-node failing on load Was setting SERVER_URL incorrectly Also changed server API to include 'excl' param --- src/components/SearchModal.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/SearchModal.vue') diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue index 990312a..9dc8f9b 100644 --- a/src/components/SearchModal.vue +++ b/src/components/SearchModal.vue @@ -206,7 +206,8 @@ export default defineComponent({ let urlParams = new URLSearchParams({ type: 'node', name: tolNodeName, - toroot: this.activeRoot.name, + toroot: '1', + excl: this.activeRoot.name, tree: this.uiOpts.tree, }); this.$emit('net-wait'); // Allows the parent component to show a loading-indicator -- cgit v1.2.3