From 5edcdb19a9006f76556f75c3039256bdc6018051 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Mon, 23 Dec 2024 00:01:59 +0330 Subject: [PATCH] fixed some bug setting query type --- resources/views/components/setting-field.blade.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/views/components/setting-field.blade.php b/resources/views/components/setting-field.blade.php index 6b6386e..12cb078 100644 --- a/resources/views/components/setting-field.blade.php +++ b/resources/views/components/setting-field.blade.php @@ -97,7 +97,7 @@ @break @case('PRODUCT_QUERY')
- @php($vals = explode(',',old($setting->key,$setting->value??null))) + @php($vals = explode(',',old($setting->key,$setting->value??'0,id,DESC')))
@@ -143,7 +143,7 @@ @break @case('POST_QUERY')
- @php($vals = explode(',',old($setting->key,$setting->value??null))) + @php($vals = explode(',',old($setting->key,$setting->value??'0,id,DESC')))
@@ -169,10 +169,7 @@