joshuag Posted December 19, 2012 Posted December 19, 2012 Does anyone know how I can make the processwire admin search include users in the search results?
Martijn Geerts Posted December 19, 2012 Posted December 19, 2012 Which version you have there? I think there was one version Ryan excluded the users from searches. Searching for users in 2.2.10 is no problem. You even can Limit to template "user" on the advanced panel.
joshuag Posted December 19, 2012 Author Posted December 19, 2012 Sorry, I should have been more specific. I want to search in the user>name field. and I want people to be able to type a username into the search field in the admin header and get results... without having to use the advanced panel. whenever I try to search the name field of a user template, I get 2 error notices (swap whatever operator you want in there): 1. Operator '~=' is not yet supported for fields native to pages table 2. Field does not exist: name Hope that makes sense.
Martijn Geerts Posted December 19, 2012 Posted December 19, 2012 Search in field(s): name Type of search: Equals (a=b) These settings works for me. 1
joshuag Posted December 19, 2012 Author Posted December 19, 2012 You are correct, the = Equals works. It's the only selector that works. I realized that you can't mix native and custom fields together. Not sure why, but ok. I went into the "Page Search" Module and changed the settings. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now