shopware / shopware/shopware

Active filter properties are only prioritized within the current pagination page in category layout configuration

Open
#17,601 4 comments 0 reactions 0 assignees View on GitHub
customer-support domain/inventory Platform(Default) priority/low
Dominant language
PHP
Stars
3.4k
Forks
1.2k
Avg merge
2d 23h
Merged PRs (30d)
433

Description

### Shopware Version

Tested on 6.6.10.2

### Affected area / extension

Platform(Default)

### Actual behaviour

In the category layout configuration, filter properties can be selected and activated for the product listing.

When a property is activated, Shopware moves it to the top of the list. However, this prioritization is only applied within the currently displayed pagination page and not across all sites.

As a result, active filter properties may remain distributed across multiple pages, making it difficult to get an overview of all active filters.

### Expected behaviour

All active properties should appear at the beginning of the overall list, regardless of the page on which they were originally located. This would provide a consistent and transparent overview of the configured filters.

### How to reproduce

1. Create enough properties so that the filter selection list spans multiple pages.
2. Open a category and navigate to the Layout tab.
3. Open the filter property selection.
4. Navigate to page 2 (or any page other than the first one).
5. Activate a property that is currently not selected.
6. Save or reload the view.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the category Layout tab using enough properties to create multiple pages, then inspect the category layout filter-property selection and its pagination behavior. Confirm that activating a property from a later page places every active property at the beginning of the complete list after saving or reloading.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.