Hi All
I made a user management page using views (Type: user) instead of the default one from Drupal.
I'm trying to make a ( User: Name - The user ID ) exposed filter where you can enter the user id and get his info.
The user name is working fine but not the id. Do i have to make a custom filter for that ? and how ?! or can i change it using alter_query ?

Thanks for your help in Advanced.
Cheers
Rami

Comments

dawehner’s picture

Issue tags: +Novice

That's definitive possible, something like uid_raw, tagging for other people.

rami attallah’s picture

@dawehner
Thanks for the quick reply, I can understand from tagging that you mean taxonomy terms ?
but what does that have to do with user data ?

Sorry I'm a newbi.

Cheers
Rami

damiankloip’s picture

Status: Active » Needs review
StatusFileSize
new556 bytes

I think dawehner means the tag (Novice) for this actual issue, nothing to do with your actual view :)

Something like this would do what you need I think.

dawehner’s picture

Status: Needs review » Fixed

This patch looks perfect, committed to 7.x-3.x and 8.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

soulfroys’s picture

Version: 7.x-3.3 » 6.x-2.16
Status: Closed (fixed) » Needs review
StatusFileSize
new579 bytes

Please, is it possible to commit this (6.x-2.16) backport?

Thanks!

jvieille’s picture

Thanks, this works

mustanggb’s picture

Version: 6.x-2.16 » 7.x-3.x-dev
Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.