Skip to content

Commit

Permalink
Provide sorting for attributes and crosscheckAttributes select fields…
Browse files Browse the repository at this point in the history
… (CO-2629)
  • Loading branch information
arlen committed Mar 31, 2023
1 parent 57cecc7 commit 5442e9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/src/Model/Table/AttributesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ public function initialize(array $config): void {
'attributeGroups' => [
'type' => 'select',
'model' => 'AttributeGroups',
'find' => 'filterPrimaryLink'
'find' => 'filterPrimaryLink',
'order' => 'name'
],
'attributeMaps' => [
'type' => 'select',
'model' => 'AttributeMaps',
'find' => 'filterPrimaryLink'
'find' => 'filterPrimaryLink',
'order' => 'name'
]
]);
}
Expand Down
6 changes: 4 additions & 2 deletions app/src/Model/Table/RuleAttributesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@ public function initialize(array $config): void {
'attributes' => [
'type' => 'select',
'model' => 'Attributes',
'find' => 'filterMatchgrid'
'find' => 'filterMatchgrid',
'order' => 'name'
],
'crosscheckAttributes' => [
'type' => 'select',
'model' => 'Attributes',
'find' => 'filterMatchgrid'
'find' => 'filterMatchgrid',
'order' => 'name'
],
'searchTypes' => [
'type' => 'enum',
Expand Down

0 comments on commit 5442e9b

Please sign in to comment.