Skip to content

Commit 264b7b6

Browse files
authored
Add reset list
1 parent b8fe303 commit 264b7b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/vue-common/mixins/ListMixin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export default {
4444
if (!isEmpty(sortBy)) {
4545
params[`order[${sortBy}]`] = descending ? 'desc' : 'asc';
4646
}
47+
48+
this.resetList = true;
4749

4850
this.getPage(params).then(() => {
4951
this.options.sortBy = sortBy;

0 commit comments

Comments
 (0)