sr-npm 1.7.998 → 1.7.1000

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.
@@ -52,16 +52,16 @@ const FiltersIds={
52
52
  Visibility: 'Visibility',
53
53
  }
54
54
 
55
- const possibleUrlParams={
56
- "brand": "brand",
57
- "location": "location",
58
- "employmentType": "employmentType",
59
- "contractType": "contractType",
60
- "visibility": "visibility",
61
- "category": "category",
62
- "companySegment": "companySegment",
63
- "storeName": "storeName",
64
- }
55
+ const possibleUrlParams=[
56
+ "brand",
57
+ "location",
58
+ "employmentType",
59
+ "contractType",
60
+ "visibility",
61
+ "category",
62
+ "companySegment",
63
+ "storeName",
64
+ ]
65
65
 
66
66
 
67
67
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.998",
3
+ "version": "1.7.1000",
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,7 +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);
145
-
146
+
146
147
  let selectedIndices=[];
147
148
  const field=getFieldByTitle(fieldTitlesInCMS[param],allfields);
148
149
  console.log("field: ",field);