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.

Comments

damien_vancouver’s picture

StatusFileSize
new111.89 KB

Here 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.

recidive’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

We usually don't back port features.

dwarf8’s picture

Thanks, 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. ;-)

joachim’s picture

StatusFileSize
new1.6 KB

Updated 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.