From 52e9bfef357a5331190bb991e7fe757b92b0a02d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 19 Mar 2020 15:19:02 +0000 Subject: [PATCH] --- ayanova/src/components/pick-list.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ayanova/src/components/pick-list.vue b/ayanova/src/components/pick-list.vue index f44a0ee7..98e2a157 100644 --- a/ayanova/src/components/pick-list.vue +++ b/ayanova/src/components/pick-list.vue @@ -208,9 +208,13 @@ export default { var urlParams = "?ayaType=" + vm.ayaType; - if (val != null && val != "") { - urlParams += "&query=" + val; //todo: may need to urlify this? + var query = queryTerms[0]; + if (queryTerms[1] != "[?]") { + query += " " + queryTerms[1]; } + + urlParams += "&query=" + query; + if (vm.includeInactive) { urlParams += "&inactive=true"; }