Closed (fixed)
Project:
Privatemsg
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
2 Oct 2006 at 08:44 UTC
Updated:
9 Feb 2007 at 23:32 UTC
Jump to comment: Most recent file
Here's a patch for autocomplete recipient field. Lists only the users who have private message enabled.
Please report bugs, etc.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | privatemsg_autocomplete.patch | 1.82 KB | Gurpartap Singh |
| aquasoft_upgrade_patch_0.patch | 3.49 KB | Gurpartap Singh |
Comments
Comment #1
beginner commentedhttp://drupal.org/node/25851 was marked as duplicate.
patch attached seems to be wrong patch.
Comment #2
Gurpartap Singh commentedSorry for that :(
Comment #3
beginner commentedComment #4
Gurpartap Singh commentedPrevious patch listed all those who have enabled private message, and after that got fixed, I just discovered that mysql query gets 10 names starting with entered string and check about
privatemsg_allowpermission on them. If none of them have enabled private message, autocomplete would return empty although next users after the 10th user, fetched, might have private message enabled. Putting this into a loop isn't good solution.So basically, it's the job to check through serialized data. I will submit a patch with single query to check for maching usernames and permissions directly from sql.
Comment #5
pulpzebra commentedcould you please report on the development status of the patch?
Comment #6
mindless commentedautocomplete now added in cvs
Comment #7
(not verified) commented