sr-npm 1.7.739 → 1.7.740
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
|
@@ -360,7 +360,8 @@ function handlePageUrlParam() {
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
}
|
|
363
|
-
async function refreshFacetCounts(_$w,clearAll=false,secondarySearch=false) {
|
|
363
|
+
async function refreshFacetCounts(_$w,clearAll=false,secondarySearch=false) {
|
|
364
|
+
|
|
364
365
|
console.log("refreshing facet counts");
|
|
365
366
|
|
|
366
367
|
|
|
@@ -448,7 +449,7 @@ async function secondarySearch(_$w,query) {
|
|
|
448
449
|
}
|
|
449
450
|
handlePaginationButtons(_$w,true);
|
|
450
451
|
updateTotalJobsCountText(_$w,true);
|
|
451
|
-
await refreshFacetCounts(_$w,true);
|
|
452
|
+
await refreshFacetCounts(_$w, false, true); //false for clearAll, true for secondarySearch
|
|
452
453
|
return secondarySearchJobs;
|
|
453
454
|
}
|
|
454
455
|
async function bindSearchInput(_$w) {
|