sr-npm 1.7.632 → 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
|
@@ -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,7 +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;
|
|
212
|
-
|
|
214
|
+
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
async function applyJobFilters(_$w,filterByField) {
|