sr-npm 1.7.1073 → 1.7.1075

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
@@ -261,7 +261,6 @@ async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS() {
261
261
  const API_CHUNK_SIZE = 80;
262
262
  const pageChunks = Math.ceil(jobsWithNoDescriptions.items.length / API_CHUNK_SIZE);
263
263
  const richContentConverterToken = await getTokenFromCMS(TOKEN_NAME.RICH_CONTENT_CONVERTER_TOKEN);
264
- console.log(richContentConverterToken + " is the rich content converter token");
265
264
  await chunkedBulkOperation({
266
265
  items: jobsWithNoDescriptions.items,
267
266
  chunkSize: API_CHUNK_SIZE,
@@ -114,7 +114,6 @@ async function fetchJobDescription(jobId,testObject=undefined) {
114
114
  }
115
115
 
116
116
  async function htmlRichContentConverter(sections,richContentConverterToken) {
117
- console.log("sections: are ",sections);
118
117
  const richContentObject = {}
119
118
  for (const [sectionTitle, sectionData] of Object.entries(sections)) {
120
119
  if (sectionData.text) {
@@ -143,7 +142,6 @@ async function htmlRichContentConverter(sections,richContentConverterToken) {
143
142
  }
144
143
  }
145
144
  }
146
- console.log("richContentObject: are ",richContentObject);
147
145
  return richContentObject;
148
146
  }
149
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.1073",
3
+ "version": "1.7.1075",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -267,11 +267,13 @@ async function loadJobsRepeater(_$w) {
267
267
  const selected = ev.target.value; // array of selected value IDs
268
268
  console.log("ev: ",ev)
269
269
  console.log("ev.target: ",ev.target)
270
+ console.log("selected: ",selected)
270
271
  if (selected && selected.length) {
271
272
  selectedByField.set(field._id, selected);
272
273
  } else {
273
274
  selectedByField.delete(field._id);
274
275
  }
276
+ console.log("selectedByField: ",selectedByField)
275
277
  await updateJobsAndNumbersAndFilters(_$w);
276
278
 
277
279
  });
@@ -377,9 +379,12 @@ async function loadJobsRepeater(_$w) {
377
379
  finalFilteredJobs=tempFilteredJobs;
378
380
  tempFilteredJobs=[];
379
381
  }
382
+ console.log("finalFilteredJobs: ",finalFilteredJobs)
380
383
  secondarySearchIsFilled? currentSecondarySearchJobs=finalFilteredJobs:currentJobs=finalFilteredJobs;
381
384
  let jobsFirstPage=[];
385
+ console.log("currentSecondarySearchJobs: ",currentSecondarySearchJobs)
382
386
  secondarySearchIsFilled? jobsFirstPage=currentSecondarySearchJobs.slice(0,pagination.pageSize):jobsFirstPage=currentJobs.slice(0,pagination.pageSize);
387
+ console.log("jobsFirstPage: ",jobsFirstPage)
383
388
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data = jobsFirstPage;
384
389
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.paginationCurrentText).text = jobsFirstPage.length.toString();
385
390
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.paginationTotalCountText).text = secondarySearchIsFilled? currentSecondarySearchJobs.length.toString():currentJobs.length.toString();