This is a tested backport of the admin search by email patch by mattman at http://drupal.org/node/113983
It allows administrators with the "administer users" permissions to do searches against email address as well as just username. Please see http://drupal.org/node/113983 for more information and discussion on the patch.
This patch will apply cleanly to Drupal 5.1 release. I am also going to follow up with the actual user.module file in case you are someone who has trouble applying patches.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | search-by-email-146573.patch | 1.6 KB | joachim |
| #1 | user.module.txt | 111.89 KB | damien_vancouver |
| user_search_by_email-drupal-5.1-release.patch | 1.82 KB | damien_vancouver |
Comments
Comment #1
damien_vancouver commentedHere is the patched user.module file from Drupal 5.1 release. You can rename this to user.module and drop it over the old one in modules/user/ and it will activate this feature.
Comment #2
recidive commentedWe usually don't back port features.
Comment #3
dwarf8 commentedThanks, damien_vancouver -- works great, and exactly what I needed!
I guess this makes me an unusual user, as per Comment #2, but, hey, I never claimed to be normal. ;-)
Comment #4
joachim commentedUpdated patch against current version of D5, in case anyone finds it useful -- the above doesn't apply on newer versions.
Run against my site's SVN, so you need to be in the user folder to apply it.