Przeglądaj źródła

HPCC-10476 Apply/Clear filter buttons on logical files page don't work

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Gordon Smith 11 lat temu
rodzic
commit
faa9df3a43
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      esp/files/scripts/DFUQueryWidget.js

+ 7 - 0
esp/files/scripts/DFUQueryWidget.js

@@ -297,6 +297,13 @@ define([
             });
             this.initWorkunitsGrid();
             this.selectChild(this.workunitsTab, true);
+
+            this.filter.on("clear", function (evt) {
+                context.refreshGrid();
+            });
+            this.filter.on("apply", function (evt) {
+                context.refreshGrid();
+            });
         },
 
         initTab: function() {