Searching Users

Topics: Customizing Orchard, General, Writing modules
Feb 16, 2012 at 4:36 PM

Hi everyone,

Are there any modules that extend the Orchard Users list to allow searching by profile fields?
We can search by username and email but need the ability to search by FirstName, LastName and some other fields on the user's profile.

Hoping there is already a module that allows this.

Thanks,
Will

Feb 17, 2012 at 2:06 PM

If first name and last name are text fields that you added, you can include those in the index and it should just work.  If first name and last name are actually a content part that you wrote yourself and attached to user, then those too would need included in the index, but should also work quite easily.  

Feb 21, 2012 at 3:10 AM

Sorry for the late response, Brandon.

I was talking about the normal Search functionality. I was talking about the textbox on the Users Admin page. The box will filter on username and email. I had to extend it to also filter on some fields of the user profile.

It was purely a lack of time that made me do this but I went ahead and edited the users module to get the job done. :(

I will revisit and roll out those changes later. I suspect I'll have to write a custom module to do what I need.

Thanks,
Will