Skip to content

Commit

Permalink
Ensure sort order is provided (CO-2629)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Apr 1, 2023
1 parent 5442e9b commit 38a8267
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/src/Model/Table/AttributesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ public function initialize(array $config): void {
'type' => 'select',
'model' => 'AttributeGroups',
'find' => 'filterPrimaryLink',
'order' => 'name'
'order' => ['name' => 'ASC']
],
'attributeMaps' => [
'type' => 'select',
'model' => 'AttributeMaps',
'find' => 'filterPrimaryLink',
'order' => 'name'
'order' => ['name' => 'ASC']
]
]);
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/Model/Table/RuleAttributesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public function initialize(array $config): void {
'type' => 'select',
'model' => 'Attributes',
'find' => 'filterMatchgrid',
'order' => 'name'
'order' => ['name' => 'ASC']
],
'crosscheckAttributes' => [
'type' => 'select',
'model' => 'Attributes',
'find' => 'filterMatchgrid',
'order' => 'name'
'order' => ['name' => 'ASC']
],
'searchTypes' => [
'type' => 'enum',
Expand Down

0 comments on commit 38a8267

Please sign in to comment.