Bug #5419
closedImprove @MENTIONS matching
Description
Currently numeric mentions are treated as user id only, but if a username is numerical it becomes impossible to mention by username. The wildcard for username and name matching also needs to be removed. Instead opt for a hardcoded up to the next 6 words matching solution. Basically if the mention word doesn't match try word + next word, then word + next 2 words, then word + next 3 words, etc.. up to 6. This is to account for long names or usernames with multiple spaces and should cover the majority of usages. This eliminates wildcard accidentally matching when it shouldn't. The order by should also probably be id, username, name, then registration date.
https://www.joomlapolis.com/forum/153-professional-member-support/230630-tagging-problem#268128