mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +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:
@ -16,7 +16,7 @@ class Chapter extends BookChild
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public $searchFactor = 1.5;
|
||||
public $searchFactor = 1.2;
|
||||
|
||||
protected $fillable = ['name', 'description', 'priority', 'book_id'];
|
||||
protected $hidden = ['restricted', 'pivot', 'deleted_at'];
|
||||
|
Reference in New Issue
Block a user