X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/62342433f41f2eaef19c5e85f5ce960297ee8206..refs/pull/806/head:/app/Chapter.php diff --git a/app/Chapter.php b/app/Chapter.php index 6dab9dc47..88b4c134c 100644 --- a/app/Chapter.php +++ b/app/Chapter.php @@ -2,9 +2,9 @@ class Chapter extends Entity { - protected $fillable = ['name', 'description', 'priority', 'book_id']; + public $searchFactor = 1.3; - protected $with = ['book']; + protected $fillable = ['name', 'description', 'priority', 'book_id']; /** * Get the book this chapter is within.