Răsfoiți Sursa

HUE-7736 [assist] Make sure filtering the file panels resets the current page

Johan Ahlen 8 ani în urmă
părinte
comite
ced8231

+ 2 - 0
desktop/core/src/desktop/static/desktop/js/assist/assistStorageEntry.js

@@ -69,6 +69,8 @@ var AssistStorageEntry = (function () {
     self.filter = ko.observable('').extend({ rateLimit: 400 });
 
     self.filter.subscribe(function () {
+      self.currentPage = 1;
+      self.hasMorePages = true;
       self.loadEntries();
     });