sr-npm 1.7.849 → 1.7.851
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/backend/data.js
CHANGED
|
@@ -201,7 +201,7 @@ async function insertJobsReference(valueId) {
|
|
|
201
201
|
async function populateCustomFieldsCollection(customFields) {
|
|
202
202
|
let fieldstoinsert=[]
|
|
203
203
|
customFields["employmentType"] = "Employment Type";
|
|
204
|
-
customFields["
|
|
204
|
+
customFields["Visibility"] = "Visibility";
|
|
205
205
|
for(const ID of Object.keys(customFields)){
|
|
206
206
|
fieldstoinsert.push({
|
|
207
207
|
title: customFields[ID],
|
package/package.json
CHANGED
|
@@ -350,8 +350,10 @@ console.log("i am here 5 ");
|
|
|
350
350
|
? withCounts.filter(o => (o.label || '').toLowerCase().includes(searchQuery))
|
|
351
351
|
: withCounts;
|
|
352
352
|
console.log("filtered :", filtered);
|
|
353
|
+
|
|
353
354
|
// Preserve currently selected values that are still visible
|
|
354
355
|
let prevSelected=[]
|
|
356
|
+
console.log("FiltersIds[fieldTitle] :", FiltersIds[fieldTitle]);
|
|
355
357
|
clearAll? prevSelected=[]:prevSelected= _$w(`#${FiltersIds[fieldTitle]}CheckBox`).value;
|
|
356
358
|
const visibleSet = new Set(filtered.map(o => o.value));
|
|
357
359
|
console.log("visibleSet :", visibleSet);
|