sr-npm 1.7.746 → 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.746",
3
+ "version": "1.7.747",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -435,7 +435,8 @@ function primarySearch(_$w,query) {
435
435
  }
436
436
  async function secondarySearch(_$w,query) {
437
437
  console.log("secondary search query: ", query);
438
- if(query.length===0 || query===undefined) {
438
+ if(query.length===0 || query===undefined || query==='') {
439
+ console.log("secondary search query is empty, resetting secondary search");
439
440
  // allsecondarySearchJobs=currentJobs;
440
441
  secondarySearchIsFilled=false;
441
442
  }