RSS Feed/News Searching for falsy values (ie 0) doesn't work

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
28,880
Points
823

Reputation:

There are a number of places which search_query doesn't do strict equality checks, and keyword handling when plumbing into the Query entity doesn't do it either.

Additionally; XF\Pub\Route\Search::build probably should just add the various XF\Entity\Search attributes without an empty-query check since by that stage those checks have been done everywhere else.

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