sr-npm 1.7.340 → 1.7.341

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.340",
3
+ "version": "1.7.341",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -183,7 +183,7 @@ function init(_$w) {
183
183
 
184
184
  //URL onChange
185
185
  onChange(async ()=>{
186
-
186
+ handleBackAndForth(_$w);
187
187
  const newQueryParams=await location.query();
188
188
  console.log("location.query(): ", newQueryParams);
189
189
  if(newQueryParams.keyWord){
@@ -360,6 +360,7 @@ async function handleDepartmentParam(_$w,department) {
360
360
 
361
361
  if (_$w('#dropdownDepartment').options.find(option => option.value === departmentValue))
362
362
  {
363
+ console.log("department value found in dropdown options ",departmentValue);
363
364
  _$w('#dropdownDepartment').value = departmentValue;
364
365
  await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
365
366
  }