Fixed Searching for falsy values (ie 0) doesn't work

Xon

Well-known member
Affected version
2.2.11
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.
 
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.8).

Change log:
Use strict type checks when processing search input
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom