]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/Bookshelf.php
Perms: Fixed some issues made when adding transactions
[bookstack] / app / Entities / Models / Bookshelf.php
index cf22195f759f656739660e5c89aab6fcd7f08354..9ffa0ea9cabd9a9b3beed43ea65cc4c21f2f0aad 100644 (file)
@@ -15,11 +15,11 @@ class Bookshelf extends Entity implements HasCoverImage
 
     protected $table = 'bookshelves';
 
-    public $searchFactor = 1.2;
+    public float $searchFactor = 1.2;
 
     protected $fillable = ['name', 'description', 'image_id'];
 
-    protected $hidden = ['image_id', 'deleted_at'];
+    protected $hidden = ['image_id', 'deleted_at', 'description_html'];
 
     /**
      * Get the books in this shelf.