Skip to content

Commit

Permalink
Merge pull request PrestaShop#8399 from Kershoc/BOOM-3915
Browse files Browse the repository at this point in the history
CO: Fix search relevance wrong sort order BOOM-3915
  • Loading branch information
Quetzacoalt91 authored Jan 8, 2018
2 parents 40de19c + 1007d0e commit 1a89706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Product/Search/SortOrderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct(TranslatorInterface $translator)
public function getDefaultSortOrders()
{
return [
(new SortOrder('product', 'position', 'asc'))->setLabel(
(new SortOrder('product', 'position', 'desc'))->setLabel(
$this->translator->trans('Relevance', array(), 'Shop.Theme.Catalog')
),
(new SortOrder('product', 'name', 'asc'))->setLabel(
Expand Down

0 comments on commit 1a89706

Please sign in to comment.