Skip to content

Commit f16f5d8

Browse files
cyl3xFlorianKe
andauthored
fix: pagination page reset (#91)
Co-authored-by: FlorianKe <54330886+FlorianKe@users.noreply.github.com>
1 parent 6c08a18 commit f16f5d8

File tree

1 file changed

+2
-1
lines changed
  • src/Resources/app/administration/src/module/sw-extension-store/page/sw-extension-store-index

1 file changed

+2
-1
lines changed

src/Resources/app/administration/src/module/sw-extension-store/page/sw-extension-store-index/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export default {
5050
isTheme: {
5151
immediate: true,
5252
handler(newValue) {
53-
Shopware.State.commit('shopwareExtensions/setSearchValue', { key: 'page', value: 1 });
53+
const value = this.isTheme === this.activeFilters.group ? Shopware.State.get('shopwareExtensions').search.page : 1;
54+
Shopware.State.commit('shopwareExtensions/setSearchValue', { key: 'page', value });
5455
if (this.feature.isActive('VUE3')) {
5556
this.activeFilters.group = newValue;
5657
} else {

0 commit comments

Comments
 (0)