diff --git a/src/Core/Grid/Definition/Factory/AttributeGridDefinitionFactory.php b/src/Core/Grid/Definition/Factory/AttributeGridDefinitionFactory.php index 6efc57c917a0a..75824c688058e 100644 --- a/src/Core/Grid/Definition/Factory/AttributeGridDefinitionFactory.php +++ b/src/Core/Grid/Definition/Factory/AttributeGridDefinitionFactory.php @@ -243,9 +243,6 @@ protected function getFilters() ]) ->setAssociatedColumn('name') ) - ->add((new Filter('position', ReorderPositionsButtonType::class)) - ->setAssociatedColumn('position') - ) ->add((new Filter('actions', SearchAndResetType::class)) ->setAssociatedColumn('actions') ->setTypeOptions([ diff --git a/src/Core/Grid/Definition/Factory/AttributeGroupGridDefinitionFactory.php b/src/Core/Grid/Definition/Factory/AttributeGroupGridDefinitionFactory.php index 728ac8d153d46..53a673def99d9 100644 --- a/src/Core/Grid/Definition/Factory/AttributeGroupGridDefinitionFactory.php +++ b/src/Core/Grid/Definition/Factory/AttributeGroupGridDefinitionFactory.php @@ -198,9 +198,6 @@ protected function getFilters() ]) ->setAssociatedColumn('name') ) - ->add((new Filter('position', ReorderPositionsButtonType::class)) - ->setAssociatedColumn('position') - ) ->add((new Filter('actions', SearchAndResetType::class)) ->setAssociatedColumn('actions') ->setTypeOptions([ diff --git a/src/Core/Search/Filters/AttributeGroupFilters.php b/src/Core/Search/Filters/AttributeGroupFilters.php index 2843a4f471f6f..76b6f98da89ff 100644 --- a/src/Core/Search/Filters/AttributeGroupFilters.php +++ b/src/Core/Search/Filters/AttributeGroupFilters.php @@ -45,7 +45,7 @@ public static function getDefaults() return [ 'limit' => 50, 'offset' => 0, - 'orderBy' => 'id', + 'orderBy' => 'position', 'sortOrder' => 'asc', 'filters' => [], ];