Skip to content

Commit

Permalink
Add useful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Jun 12, 2024
1 parent 86daee5 commit 189ed1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/SortHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ final class SortHelper implements SortHelperInterface
{
public function retrieveSearchSorting(array $sortingQueryParams = []): array
{
return $sortingQueryParams;
return $sortingQueryParams; // If empty it will sort by _score desc as default
}

public function retrieveTaxonSorting(array $sortingQueryParams = []): array
Expand Down

0 comments on commit 189ed1c

Please sign in to comment.