sr-npm 1.7.745 → 1.7.747

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.745",
3
+ "version": "1.7.747",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -434,7 +434,9 @@ function primarySearch(_$w,query) {
434
434
  console.log("primary search query: ", query);
435
435
  }
436
436
  async function secondarySearch(_$w,query) {
437
- if(query.length===0) {
437
+ console.log("secondary search query: ", query);
438
+ if(query.length===0 || query===undefined || query==='') {
439
+ console.log("secondary search query is empty, resetting secondary search");
438
440
  // allsecondarySearchJobs=currentJobs;
439
441
  secondarySearchIsFilled=false;
440
442
  }