Skip to content

Commit

Permalink
Update VariationForm.php
Browse files Browse the repository at this point in the history
Change notation of sort-params
  • Loading branch information
MLindenhofer authored Oct 18, 2023
1 parent 154312f commit be3e158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/VariationForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function getFormFields($controller = null)
'',
['attribute' => $attribute->Label]
),
$product->possibleValuesForAttributeType($attribute)->sort('Sort', 'ASC')
$product->possibleValuesForAttributeType($attribute)->sort(['Sort' => 'ASC'])
);

if ($attributeDropdown) {
Expand Down

0 comments on commit be3e158

Please sign in to comment.