]> BookStack Code Mirror - bookstack/blobdiff - app/Chapter.php
Updated 'Spanish Argentina' translation.
[bookstack] / app / Chapter.php
index b08cb913a425808fdd25ba5d7c16b4711f79d906..88b4c134cf9d7b0a99d54058a7f21526acf4f956 100644 (file)
@@ -1,11 +1,10 @@
 <?php namespace BookStack;
 
-
 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.
@@ -59,5 +58,4 @@ class Chapter extends Entity
     {
         return "'BookStack\\\\Chapter' as entity_type, id, id as entity_id, slug, name, {$this->textField} as text, '' as html, book_id, priority, '0' as chapter_id, '0' as draft, created_by, updated_by, updated_at, created_at";
     }
-
 }