]> BookStack Code Mirror - bookstack/commit
Added testing to favourite system 2748/head
authorDan Brown <redacted>
Sun, 23 May 2021 13:34:36 +0000 (14:34 +0100)
committerDan Brown <redacted>
Sun, 23 May 2021 13:34:36 +0000 (14:34 +0100)
commitba8ba5c63421881d9346cbd6dd09a28943ff84ef
tree94a0b7ef7f53a56474c4a762976a98c860d586a0
parentc2069f37cc9c909c66e89dac6b9b2f2249855f5e
Added testing to favourite system

- Also removed some old view service references.
- Updated TopFavourites query to be based on favourites table and join
  in the views instead of the other way around, so that favourites still
show even if they have no views.
app/Auth/Permissions/PermissionService.php
app/Entities/Queries/TopFavourites.php
app/Http/Controllers/SearchController.php
app/Providers/CustomFacadeProvider.php
tests/FavouriteTest.php