mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 01:09:58 -05:00
update: separate forum categories into their own model
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user