sr-npm 1.7.851 → 1.7.853
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.
|
@@ -31,7 +31,6 @@ const JOBS_COLLECTION_FIELDS = {
|
|
|
31
31
|
MULTI_REF_JOBS_CUSTOM_VALUES: 'multiRefJobsCustomValues',
|
|
32
32
|
EMPLOYMENT_TYPE: 'employmentType',
|
|
33
33
|
RELEASED_DATE: 'releasedDate',
|
|
34
|
-
VISIBILITY: 'visibility',
|
|
35
34
|
}
|
|
36
35
|
const AMOUNT_OF_JOBS_PER_DEPARTMENT_COLLECTION_FIELDS = {
|
|
37
36
|
TITLE: 'title',
|
package/backend/data.js
CHANGED
|
@@ -69,11 +69,11 @@ function getLocation(position,basicJob) {
|
|
|
69
69
|
|
|
70
70
|
}
|
|
71
71
|
function getVisibility(position,customFieldsValues) {
|
|
72
|
-
if (!customFieldsValues[
|
|
73
|
-
customFieldsValues[
|
|
72
|
+
if (!customFieldsValues["Visibility"]) {
|
|
73
|
+
customFieldsValues["Visibility"] = {};
|
|
74
74
|
}
|
|
75
|
-
customFieldsValues[
|
|
76
|
-
customValuesToJobs[position.visibility.toLowerCase()] ? customValuesToJobs[position.visibility.toLowerCase()].push(position.id) : customValuesToJobs[position.visibility.toLowerCase()]=[position.id]
|
|
75
|
+
customFieldsValues["Visibility"][position.visibility.toLowerCase()] = position.visibility.toLowerCase();
|
|
76
|
+
customValuesToJobs["Visibility"][position.visibility.toLowerCase()] ? customValuesToJobs["Visibility"][position.visibility.toLowerCase()].push(position.id) : customValuesToJobs["Visibility"][position.visibility.toLowerCase()]=[position.id]
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
function getEmploymentType(position,customFieldsValues) {
|
package/package.json
CHANGED
|
@@ -267,7 +267,7 @@ async function loadJobsRepeater(_$w) {
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
countsByFieldId.set(key, new Map(originalOptions.map(o => [o.value, counter[o.label]])));
|
|
270
|
-
console.log("i am here 0 , field
|
|
270
|
+
console.log("i am here 0 , field: ", field);
|
|
271
271
|
console.log("countsByFieldId: ", countsByFieldId);
|
|
272
272
|
console.log("optionsByFieldId: ", optionsByFieldId);
|
|
273
273
|
updateOptionsUI(_$w,field.title, field._id, ''); // no search query
|