Skip to content

Commit

Permalink
search fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bvlinsky committed Sep 21, 2023
1 parent 0b65b68 commit c72e48f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/Criteria/ProductSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public function query(Builder $query): Builder
{
return $query->whereFullText([
'name',
'slug',
'description_html',
'description_short',
'search_values',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public function up(): void
Schema::table('products', function (Blueprint $table): void {
$table->dropFullText('products_search_values_fulltext');
$table->fullText(
['search_values', 'slug', 'name', 'description_short', 'description_html'],
['search_values', 'name', 'description_short', 'description_html'],
'products_fulltext',
);
});
Expand Down

0 comments on commit c72e48f

Please sign in to comment.