Closed (won't fix)
Project:
Privatemsg
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2010 at 13:46 UTC
Updated:
26 Jul 2016 at 15:23 UTC
Jump to comment: Most recent
Comments
Comment #1
berdirNot sure, one problem is that %string% is quite slow (will be an issue if you have many users).
I am also not sure if it is actually better UX, because while your example is valid, there are also many valid counter examples, if you start typing something like "Sa", you will probably not see names starting with "Sa.." as suggestions but a bunch of totally different names (sorted alphabetically).
So, I'm not sure. Maybe something like "LIKE 'Sa%' OR LIKE '% Sa'", basically, only looking for names that somehow start (first/lastname) with the string we are searching for.
Ideas?
Anyway, no new features or changes are added to the 6.x-1.x branch. The patch probably doesn't apply against 6.x-2.x.
Comment #2
berdirprivatemsg_autocomplete_username_not_only_from_beginning.patch queued for re-testing.
Comment #4
berdirOk, the patch applies but doesn't work anymore as the tests expect it to.
Comment #5
oadaeh commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.