From 7245cf779c7c3884abfd782d80abe57a4b2199a7 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 22 Apr 2025 17:24:50 +0200 Subject: [PATCH] FIX RE-ordering parameters to artisan queries --- template-parts/admin/artisans-section-group.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/template-parts/admin/artisans-section-group.php b/template-parts/admin/artisans-section-group.php index 18836ea..b5d45a4 100644 --- a/template-parts/admin/artisans-section-group.php +++ b/template-parts/admin/artisans-section-group.php @@ -41,7 +41,9 @@ $queryAllUnaffectedArtisansByStatus = array( 'compare' => '=' ) ) - ) + ), + 'orderby' => 'title', + 'order' => 'ASC' ); $queryConseillerRelatedArtisansByStatus = array( @@ -55,7 +57,9 @@ $queryConseillerRelatedArtisansByStatus = array( 'value' => $status, 'compare' => '=' ), - ) + ), + 'orderby' => 'title', + 'order' => 'ASC' );