Modify the old DOJO grid so that when you filter the grid it resets
to the first page.
Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
self.filterDialog.onApply = function(filter) {
if (self.urlNavigation) {
self.applyAndExecuteUrlOps(0, filter);
-
} else {
self.cachedQuerySearch = filter;
self.resetStore();
self.cachedQuerySearch,
true
);
+ self.cachedQueryOpts.offset = self.displayOffset = 0;
+ self.refresh();
}
};