sr-npm 1.7.136 → 1.7.138

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.136",
3
+ "version": "1.7.138",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -241,6 +241,8 @@ async function resetFilters(_$w) {
241
241
 
242
242
  _$w('#resetFiltersButton').disable();
243
243
 
244
+ queryParams.remove(["keyWord", "department","page"]);
245
+
244
246
  await updateCount(_$w);
245
247
  }
246
248
 
@@ -253,13 +255,13 @@ async function updateCount(_$w) {
253
255
 
254
256
  async function handleDepartmentParam(_$w,department) {
255
257
  console.log("department inside handleDepartmentParam", department.replace('-', ' '));
256
- // _$w('#dropdownDepartment').value = department.replace('-', ' ');
257
- _$w("#dataset2").onReady(async () => {
258
- _$w('#dataset2').setFieldValue("title", department.replace('-', ' '));
259
- await _$w('#dataset2').save();
258
+ _$w('#dropdownDepartment').value = department.replace('-', ' ');
259
+ // _$w("#dataset2").onReady(async () => {
260
+ // _$w('#dataset2').setFieldValue("title", department.replace('-', ' '));
261
+ // await _$w('#dataset2').save();
260
262
 
261
- await applyFilters(_$w);
262
- });
263
+ await applyFilters(_$w);
264
+ // });
263
265
  }
264
266
 
265
267