sr-npm 1.7.905 → 1.7.906
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/package.json +1 -1
- package/pages/pagesUtils.js +1 -0
- package/pages/supportTeamsPage.js +2 -0
package/package.json
CHANGED
package/pages/pagesUtils.js
CHANGED
|
@@ -181,6 +181,7 @@ async function primarySearch(_$w,query,alljobs) {
|
|
|
181
181
|
async function getValueFromValueId(valueId) {
|
|
182
182
|
const result=await getAllRecords(COLLECTIONS.CUSTOM_VALUES);
|
|
183
183
|
console.log("result: ",result);
|
|
184
|
+
console.log("valueId: ",valueId);
|
|
184
185
|
return result.find(value=>value._id===valueId);
|
|
185
186
|
|
|
186
187
|
}
|
|
@@ -14,7 +14,9 @@ async function supportTeasmPageOnReady(_$w) {
|
|
|
14
14
|
async function handleRecentJobsSection(_$w) {
|
|
15
15
|
|
|
16
16
|
const currentItem= _$w(supportTeamsPageIds.TEAM_SUPPORT_DYNAMIC_DATASET).getCurrentItem();
|
|
17
|
+
console.log("currentItem: ",currentItem);
|
|
17
18
|
const valueId=supportTeamsPageIds.valueToValueIdMap[currentItem.title_fld]
|
|
19
|
+
console.log("valueId: ",valueId);
|
|
18
20
|
const Value=await getValueFromValueId(valueId);
|
|
19
21
|
console.log("Value: ",Value);
|
|
20
22
|
const latestsJobs=await getLatestJobsByValue(Value);
|