From 6af2c7db816debd99f005045a587102c54a42e00 Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Tue, 23 Apr 2024 15:16:28 +0200 Subject: [PATCH] related #35591 - bug 10 : Attribute group list is sorted by position --- src/Core/Search/Filters/AttributeGroupFilters.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Core/Search/Filters/AttributeGroupFilters.php b/src/Core/Search/Filters/AttributeGroupFilters.php index 7139323c28eda..4b44bece866a2 100644 --- a/src/Core/Search/Filters/AttributeGroupFilters.php +++ b/src/Core/Search/Filters/AttributeGroupFilters.php @@ -37,6 +37,8 @@ final class AttributeGroupFilters extends Filters /** @var string */ protected $filterId = AttributeGroupGridDefinitionFactory::GRID_ID; + protected $needsToBePersisted = false; + /** * {@inheritdoc} */ @@ -46,7 +48,7 @@ public static function getDefaults() 'limit' => 50, 'offset' => 0, 'orderBy' => 'position', - 'sortOrder' => 'desc', + 'sortOrder' => 'asc', 'filters' => [], ]; }