Project

General

Profile

Actions

Bug #5419

closed

Improve @MENTIONS matching

Added by krileon over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
27 July 2015
Due date:
% Done:

100%

Estimated time:

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

Actions #1

Updated by krileon over 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #2

Updated by krileon over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF