Skip to content

Commit

Permalink
Pagination properly resets on collection items filter change #458
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Sep 11, 2024
1 parent 54f1fb6 commit 4870018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Catalog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default {
this.$store.commit('resetApiItems', this.data.getApiItemsLink());
}
try {
await this.$store.dispatch('loadApiItems', {link: this.apiItemsLink, show: true, filters});
await this.$store.dispatch('loadApiItems', {link: this.data.getApiItemsLink(), show: true, filters});
} catch (error) {
let msg = reset ? this.$t('errors.loadItems') : this.$t('errors.loadFilteredItems');
this.$root.$emit('error', error, msg);
Expand Down

0 comments on commit 4870018

Please sign in to comment.