Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajcastro committed Jul 25, 2021
1 parent cbb8ed2 commit 6d4e9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Searchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function scopeSortByRelevance($query, $sortByRelevance = true)
{
$sortByRelevance && SortByRelevance::sort(
$query,
$this->buildAllColumns()->actual(),
$this->buildSearchableColumns()->actual(),
$query->getModel()->searchQuery()->getSearchStr()
);
}
Expand Down

0 comments on commit 6d4e9ff

Please sign in to comment.