Reset view to first page in file lists when filters are changed
This commit is contained in:
parent
c9e261df32
commit
7d85860195
1 changed files with 2 additions and 0 deletions
|
|
@ -1771,6 +1771,7 @@ function ItemListHelper(listType, supportedSorting, supportedFilters, defaultSor
|
|||
self.currentFilters(filters);
|
||||
self._saveCurrentFiltersToLocalStorage();
|
||||
|
||||
self.changePage(0);
|
||||
self._updateItems();
|
||||
}
|
||||
|
||||
|
|
@ -1783,6 +1784,7 @@ function ItemListHelper(listType, supportedSorting, supportedFilters, defaultSor
|
|||
self.currentFilters(filters);
|
||||
self._saveCurrentFiltersToLocalStorage();
|
||||
|
||||
self.changePage(0);
|
||||
self._updateItems();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue