Skip to content

Commit

Permalink
related PrestaShop#35591 - bug 10 : Attribute group list is sorted by…
Browse files Browse the repository at this point in the history
… position
  • Loading branch information
mattgoud committed Apr 23, 2024
1 parent da757e4 commit 8d9d066
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Core/Search/Filters/AttributeGroupFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ final class AttributeGroupFilters extends Filters
/** @var string */
protected $filterId = AttributeGroupGridDefinitionFactory::GRID_ID;

protected $needsToBePersisted = false;

/**
* {@inheritdoc}
*/
Expand All @@ -46,7 +48,7 @@ public static function getDefaults()
'limit' => 50,
'offset' => 0,
'orderBy' => 'position',
'sortOrder' => 'desc',
'sortOrder' => 'asc',
'filters' => [],
];
}
Expand Down

0 comments on commit 8d9d066

Please sign in to comment.