소스 검색

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

Johan Ahlen 8 년 전
부모
커밋
ced8231
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      desktop/core/src/desktop/static/desktop/js/assist/assistStorageEntry.js

+ 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();
     });