diff --git a/app/src/Model/Table/AttributesTable.php b/app/src/Model/Table/AttributesTable.php index 37507df6..57b5dd44 100644 --- a/app/src/Model/Table/AttributesTable.php +++ b/app/src/Model/Table/AttributesTable.php @@ -68,12 +68,14 @@ public function initialize(array $config): void { 'attributeGroups' => [ 'type' => 'select', 'model' => 'AttributeGroups', - 'find' => 'filterPrimaryLink' + 'find' => 'filterPrimaryLink', + 'order' => ['name' => 'ASC'] ], 'attributeMaps' => [ 'type' => 'select', 'model' => 'AttributeMaps', - 'find' => 'filterPrimaryLink' + 'find' => 'filterPrimaryLink', + 'order' => ['name' => 'ASC'] ] ]); } diff --git a/app/src/Model/Table/RuleAttributesTable.php b/app/src/Model/Table/RuleAttributesTable.php index 68dee660..03c6f828 100644 --- a/app/src/Model/Table/RuleAttributesTable.php +++ b/app/src/Model/Table/RuleAttributesTable.php @@ -70,12 +70,14 @@ public function initialize(array $config): void { 'attributes' => [ 'type' => 'select', 'model' => 'Attributes', - 'find' => 'filterMatchgrid' + 'find' => 'filterMatchgrid', + 'order' => ['name' => 'ASC'] ], 'crosscheckAttributes' => [ 'type' => 'select', 'model' => 'Attributes', - 'find' => 'filterMatchgrid' + 'find' => 'filterMatchgrid', + 'order' => ['name' => 'ASC'] ], 'searchTypes' => [ 'type' => 'enum',