]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Chapter.php
Default OpenID display name set to standard value
[bookstack] / app / Entities / Chapter.php
index 848bc6448bd467b853ef25c8982c0aa8b5ad6e4c..3290afcfa6b90b0b01b653f99dfd7f93598f6556 100644 (file)
@@ -12,6 +12,7 @@ class Chapter extends BookChild
     public $searchFactor = 1.3;
 
     protected $fillable = ['name', 'description', 'priority', 'book_id'];
+    protected $hidden = ['restricted', 'pivot'];
 
     /**
      * Get the pages that this chapter contains.