From 0a3c20b08a323f1e4e595732023d1f731c31aa8f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 17 Apr 2024 12:47:57 +0200 Subject: [PATCH] Fix issue with sorting environment variables in StackForm.php --- app/Livewire/Project/Service/StackForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/Project/Service/StackForm.php b/app/Livewire/Project/Service/StackForm.php index dee85ec543..03bf99245e 100644 --- a/app/Livewire/Project/Service/StackForm.php +++ b/app/Livewire/Project/Service/StackForm.php @@ -42,7 +42,7 @@ public function mount() $this->validationAttributes["fields.$key.value"] = $fieldKey; } } - $this->fields = $this->fields->sort(); + $this->fields = $this->fields->sortDesc(); } public function saveCompose($raw) {