From be3e158127c6edf2c3c91a8b9adb8ec256e5212d Mon Sep 17 00:00:00 2001 From: Martina Lindenhofer <68067510+MLindenhofer@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:14:39 +0200 Subject: [PATCH] Update VariationForm.php Change notation of sort-params --- src/Forms/VariationForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/VariationForm.php b/src/Forms/VariationForm.php index fa30fcdc..969a7215 100644 --- a/src/Forms/VariationForm.php +++ b/src/Forms/VariationForm.php @@ -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) {