sr-npm 1.7.997 → 1.7.999

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.997",
3
+ "version": "1.7.999",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -74,6 +74,7 @@ async function handleUrlParams(_$w,urlParams) {
74
74
  {
75
75
  console.log("urlParams[url]: ",urlParams[url])
76
76
  applyFiltering=await handleParams(_$w,url,urlParams[url])
77
+
77
78
  }
78
79
  }
79
80
  // if(urlParams.brand) {
@@ -142,6 +143,7 @@ async function handleParams(_$w,param,values) {
142
143
  valuesAsArray=valuesAsArray.filter(value=>value.trim()!=='');
143
144
  console.log("valuesAsArray: ",valuesAsArray);
144
145
  console.log("param: ",param);
146
+
145
147
  let selectedIndices=[];
146
148
  const field=getFieldByTitle(fieldTitlesInCMS[param],allfields);
147
149
  console.log("field: ",field);
@@ -163,7 +165,7 @@ async function handleParams(_$w,param,values) {
163
165
  console.warn(`${param} value not found in dropdown options`);
164
166
  }
165
167
  }
166
-
168
+
167
169
  console.log("existing after for loop: ",existing);
168
170
  console.log("selectedIndices after for loop: ",selectedIndices);
169
171
  selectedByField.set(field._id, existing);