Explorar o código

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

Johan Ahlen %!s(int64=8) %!d(string=hai) anos
pai
achega
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();
     });