sr-npm 1.7.721 → 1.7.722

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.721",
3
+ "version": "1.7.722",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -150,7 +150,8 @@ async function loadJobsRepeater(_$w) {
150
150
  handlePaginationButtons(_$w);
151
151
  }
152
152
 
153
- function updateTotalJobsCountText(_$w) {
153
+ function updateTotalJobsCountText(_$w,secondarySearch=false) {
154
+ secondarySearch? _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.TotalJobsCountText).text = `${secondarySearchJobs.length} Jobs`:
154
155
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.TotalJobsCountText).text = `${currentJobs.length} Jobs`;
155
156
  }
156
157
 
@@ -380,7 +381,7 @@ function secondarySearch(_$w,query) {
380
381
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.paginationTotalCountText).text = secondarySearchJobs.length.toString();
381
382
  pagination.currentPage=1;
382
383
  handlePaginationButtons(_$w,true);
383
- updateTotalJobsCountText(_$w);
384
+ updateTotalJobsCountText(_$w,true);
384
385
  }
385
386
  function bindSearchInput(_$w) {
386
387
  const primarySearchDebounced = debounce(() => {