This commit is contained in:
2020-04-05 17:59:08 +00:00
parent 2858ab402e
commit 26f5658e03
2 changed files with 31 additions and 7 deletions

View File

@@ -267,8 +267,8 @@ export default {
//NOTE debounce with a watcher is a bit different, currently it has to be done exactly this way, nothing else will work properly
//https://vuejs.org/v2/guide/migration.html#debounce-Param-Attribute-for-v-model-removed
//-----------------
let vm = this;
let vm = this;
let isATwoTermQuery = false;
let queryTerms = [];
//NOTE: empty query is valid; it means get the top 100 ordered by template order
@@ -289,7 +289,7 @@ export default {
isATwoTermQuery = true;
} else {
//one term only so push it into array
queryTerms.push(searchEntered);
queryTerms.push(searchFor);
//Marker term, will be weeded back out later
queryTerms.push("[?]");
}