sr-npm 1.7.113 → 1.7.115

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
@@ -320,12 +320,11 @@ async function aggregateJobs() {
320
320
 
321
321
  async function referenceJobs() {
322
322
  console.log("Reference jobs");
323
-
324
- // await referenceJobsToField({ referenceField: JOBS_COLLECTION_FIELDS.CITY, sourceCollection: COLLECTIONS.CITIES, jobField: JOBS_COLLECTION_FIELDS.CITY_TEXT }),
325
-
326
- await referenceJobsToField({ referenceField: "city", sourceCollection: "cities", jobField: "cityText" })
327
- await referenceJobsToField({ referenceField: JOBS_COLLECTION_FIELDS.DEPARTMENT_REF, sourceCollection: COLLECTIONS.AMOUNT_OF_JOBS_PER_DEPARTMENT, jobField: JOBS_COLLECTION_FIELDS.DEPARTMENT })
328
-
323
+ //await referenceJobsToField({ referenceField: "city", sourceCollection: "cities", jobField: "cityText" })
324
+ Promise.all([
325
+ referenceJobsToField({ referenceField: JOBS_COLLECTION_FIELDS.DEPARTMENT_REF, sourceCollection: COLLECTIONS.AMOUNT_OF_JOBS_PER_DEPARTMENT, jobField: JOBS_COLLECTION_FIELDS.DEPARTMENT }),
326
+ referenceJobsToField({ referenceField: JOBS_COLLECTION_FIELDS.CITY, sourceCollection: COLLECTIONS.CITIES, jobField: JOBS_COLLECTION_FIELDS.CITY_TEXT })
327
+ ]);
329
328
  console.log("finished referencing jobs");
330
329
  }
331
330
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.113",
3
+ "version": "1.7.115",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pages/homePage.js CHANGED
@@ -31,7 +31,8 @@ async function homePageOnReady(_$w,thisObject) {
31
31
  longitude: location.longitude
32
32
  },
33
33
  address: item.locationAddress.formatted,
34
- description: `<a href=${linkUrl} target="_parent" rel="noopener noreferrer" style="color:#000000;text-decoration:underline;font-weight:bold;">View ${item.count} Open Positions</a>`
34
+ //description: `<a href=${linkUrl} target="_parent" rel="noopener noreferrer" style="color:#000000;text-decoration:underline;font-weight:bold;">View ${item.count} Open Positions</a>`
35
+ description: 'bayan'
35
36
  };
36
37
  });
37
38
  //@ts-ignore