]> BookStack Code Mirror - bookstack/commit
Added entity-specific search results pages. Cleaned & Fixed search results bugs
authorDan Brown <redacted>
Sun, 21 Feb 2016 12:53:58 +0000 (12:53 +0000)
committerDan Brown <redacted>
Sun, 21 Feb 2016 12:53:58 +0000 (12:53 +0000)
commit61577cf6bf2419d5bce5adc31a636a623118bfa3
tree9648f6cf5d646c354b0863b13abd341533edb5ff
parentb4dec2a99cbf01dc77ed9c6ec5041a9d8214b332
Added entity-specific search results pages. Cleaned & Fixed search results bugs

Added search result pages for pages, chapters and books.
Limited the results on the global search as it just listed out an infinate amount.
Fixed styling on new detailed page listings and also removed the 'bars' from the side to create  a cleaner view.
Fixed bad sql fulltext query format that may have thrown off searches.
Reduced the number of database queries down a thousand or so.
12 files changed:
app/Entity.php
app/Http/Controllers/SearchController.php
app/Http/routes.php
app/Repos/BookRepo.php
app/Repos/ChapterRepo.php
app/Repos/PageRepo.php
resources/views/chapters/list-item.blade.php
resources/views/pages/list-item.blade.php
resources/views/search/all.blade.php
resources/views/search/entity-search-list.blade.php [new file with mode: 0644]
tests/EntitySearchTest.php [new file with mode: 0644]
tests/EntityTest.php