sr-npm 1.7.631 → 1.7.633

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.631",
3
+ "version": "1.7.633",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -178,8 +178,10 @@ async function loadJobs(_$w) {
178
178
  let base = optionsByFieldId.get(fieldId) || [];
179
179
  const countsMap = countsByFieldId.get(fieldId) || new Map();
180
180
  console.log("base before filtering: ",base)
181
+ console.log("countsMap: ",countsMap)
181
182
  for (const element of countsMap)
182
183
  {
184
+ console.log("element: ",element)
183
185
  if (element[1]===0)
184
186
  {
185
187
  base= base.filter(o => o.value !== element[0])
@@ -209,6 +211,7 @@ async function loadJobs(_$w) {
209
211
 
210
212
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.FILTER_REPEATER_ITEM_CHECKBOX).options = filtered;
211
213
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.FILTER_REPEATER_ITEM_CHECKBOX).value = preserved;
214
+
212
215
  }
213
216
 
214
217
  async function applyJobFilters(_$w,filterByField) {