]> BookStack Code Mirror - bookstack/blobdiff - app/Page.php
Fixes typo causing the message not to be displayed
[bookstack] / app / Page.php
index 38f95a3b1d8d703c110932ba147936bbdc1e8c33..b24e7778aead87706b0b736d8ddaa625be5812ec 100644 (file)
@@ -9,6 +9,8 @@ class Page extends Entity
 
     protected $with = ['book'];
 
+    protected $fieldsToSearch = ['name', 'text'];
+
     /**
      * Converts this page into a simplified array.
      * @return mixed