sr-npm 1.7.135 → 1.7.136

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.135",
3
+ "version": "1.7.136",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -253,12 +253,13 @@ async function updateCount(_$w) {
253
253
 
254
254
  async function handleDepartmentParam(_$w,department) {
255
255
  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('-', ' '));
256
+ // _$w('#dropdownDepartment').value = department.replace('-', ' ');
257
+ _$w("#dataset2").onReady(async () => {
258
+ _$w('#dataset2').setFieldValue("title", department.replace('-', ' '));
259
+ await _$w('#dataset2').save();
259
260
 
260
- // await applyFilters(_$w);
261
- // });
261
+ await applyFilters(_$w);
262
+ });
262
263
  }
263
264
 
264
265