Fixed Tagify autocomplete requires exact text match to display results

Xon

Well-known member
Affected version
2.3.2
The XF2.3 uses tagify in a few places for username & tag autocomplete, and these requires the search term to exist in the matchs instead of a "close" match. Username autocomplete in posts doesn't require exact text match and will work if the returned results do not contain an exact text match.

This results in tagify potentially filtering out results unexpectedly
 
The "fix" is really wonky, just don't pass in the search term. This still does any partial match highlighting!
JavaScript:
- this.tagify.dropdown.show.call(this.tagify, q)
+ this.tagify.dropdown.show.call(this.tagify, '')
 
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.3).

Change log:
Fix Tagify filtering out non-exact matches unexpectedly
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom