sr-npm 1.7.852 → 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.
- package/backend/collectionConsts.js +0 -1
- package/backend/data.js +4 -4
- package/package.json +1 -1
|
@@ -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) {
|