update: separate forum categories into their own model

This commit is contained in:
Roardom
2024-02-12 05:30:33 +00:00
parent 88e4ee83a8
commit 686f1560ca
40 changed files with 1023 additions and 581 deletions
-1
View File
@@ -28,7 +28,6 @@ class SubscribedForum extends Component
{
return Forum::query()
->with('latestPoster', 'lastRepliedTopic')
->whereNotNull('parent_id')
->whereRelation('subscribedUsers', 'users.id', '=', auth()->id())
->whereRelation('permissions', [['read_topic', '=', 1], ['group_id', '=', auth()->user()->group_id]])
->orderBy('position')