From e3d6eb96f33b750bd99bd305c52cfef92b9e22c3 Mon Sep 17 00:00:00 2001 From: mrkalchemy <123658706+mrkalchemy@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:13:49 +0000 Subject: [PATCH] fix-for-issue-34174-dev --- src/Adapter/Search/SearchProductSearchProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapter/Search/SearchProductSearchProvider.php b/src/Adapter/Search/SearchProductSearchProvider.php index aba9ad6a1ce3e..64f52969e7527 100644 --- a/src/Adapter/Search/SearchProductSearchProvider.php +++ b/src/Adapter/Search/SearchProductSearchProvider.php @@ -142,7 +142,7 @@ public function runQuery( $result->setAvailableSortOrders( array_merge( [ - (new SortOrder('product', 'position', 'asc'))->setLabel( + (new SortOrder('product', 'position', 'desc'))->setLabel( $this->translator->trans('Relevance', [], 'Shop.Theme.Catalog') ), ],