RSS Feed/News Make it easier to define global forum filters

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,745
Points
823

Reputation:

In XF\Pub\Controller\Forum::getForumFilterInput it calls $filters = $forum->TypeHandler->getForumFilterInput($forum, $this->request, $filters); before returning the filters.

This is fine if you have forum type-specific filters, but it makes it difficult to create new filters for all forum types that are also available to the forum type handlers, if for any reason you want to check if a filter has been set. It's obviously not possible to extend the abstract forum type handler to...

Read more

Continue reading...
 
Status
Not open for further replies.
Top