Skip to content

Commit

Permalink
related PrestaShop#35591 - bug 10 : remove rearrange btn for attribut…
Browse files Browse the repository at this point in the history
…es and attributes groups
  • Loading branch information
mattgoud committed May 31, 2024
1 parent 8143c9c commit 38d5dbc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Search/Filters/AttributeGroupFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function getDefaults()
return [
'limit' => 50,
'offset' => 0,
'orderBy' => 'id',
'orderBy' => 'position',
'sortOrder' => 'asc',
'filters' => [],
];
Expand Down

0 comments on commit 38d5dbc

Please sign in to comment.