1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added tag values as part of the indexed search terms

This allows finding content via tag name/values when just searching
using normal seach terms.
Added testing to cover.

Related to #1577
This commit is contained in:
Dan Brown
2021-11-12 17:06:01 +00:00
parent f28daa01d9
commit 99587a0be6
6 changed files with 52 additions and 8 deletions

View File

@ -13,7 +13,7 @@ class Bookshelf extends Entity implements HasCoverImage
protected $table = 'bookshelves';
public $searchFactor = 1.5;
public $searchFactor = 1.2;
protected $fillable = ['name', 'description', 'image_id'];