On page: http://www.mydrupalsite.com/admin/user/user

There is no listing of number of users on your site such as "1-50 of 121 users"? Seems like basic functionality?

We have a way to filter users but can we add a way to search for a user by username or email?

This seems really basic and I'm surprised Drupal doesn't have this functionality with a basic install. Can it be added?

Comments

damien tournoud’s picture

Version: 6.x-dev » 7.x-dev

User search allows the admin to search either by name or by email. It is available at search/user.

The first request makes sense. Reassigning to 7.x because feature requests can only go to the current development version.

alexandreracine’s picture

There are two patches for 5.x. Could they be used for 7.x?

http://drupal.org/node/146575

http://drupal.org/node/113983

damien_vancouver’s picture

The admin search by username patch was committed to D6 in time to make it into D6's release I believe, so that is already done.

As a policy, fixes aren't backported to already released versions, which is why I keep making new versions of the search patch at http://drupal.org/node/113983 for 5.x, but none for 6.x or 7 as it's already committed. The multiple patches you see were from when I first started and didn't know the no-backporting-features policy. So now it's just the one thread with new 5.x versions as I make them.

Anyway, regardless of the admin user search, the new 1-50 of 200 idea of yours is a seperate feature from the admin user search so it should have its own patch to keep everything in CVS as atomic as possible.

So your next steps would be to come up with a new patch to do the 1-50 of 200 thing against HEAD (D7). Once that's tested, reviewed and committed, then I'd backport it to an earlier version if you need it (like Drupal 6 or 5). Then keep those up to date with new drupal versions as you upgrade yourself for security/maintenance fixes. People will let you know via comment if they are needing a version you haven't got up yet, which will encourage you to get your sites updated ;)

Good luck!

alexandreracine’s picture

Actually I was more looking for the email search for admins :)

damien_vancouver’s picture

OK cool, that should already be in there. Try from /admin/user/search on your site. If the help text on the search mentions "brenda@example.com" then the patch is definitely in there.

You will also need to enable the search module to get to admin/user/search.

alexandreracine’s picture

Yep it's there! Thanks.

So the only thing missing of this original request is the "number of users" in the lists.

Anonymous’s picture

Status: Active » Closed (won't fix)

Since this hasn't received much support in 3+ years, closing.