Skip to content

Commit 7ba36fc

Browse files
authored
Merge pull request #216 from jmontoyaa/patch-4
Add reset list
2 parents b8fe303 + 264b7b6 commit 7ba36fc

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)