Searching for users with web services
While using Wing's web services library to list all Cascade users, we encountered issues similar to christianco, including:
- returning one user when calling
$users = $cascade->getUsersByName( '*' );
...despite having fewer than 250 users and not having usernames with spaces. Rebuilding the search index resulted in 0 results being returned and our best guess is that the problem was related to our LDAP implementation.
The search is working now and we think a Cascade restart might be to thank.
Erik
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 07 Oct, 2015 08:17 PM
Hi Erik,
Definitely interesting, and it doesn't look as though we ever narrowed down a cause in Christian's case.
The Web Services search using
*
should return the exact same as using the Advanced Search feature in the UI. What kind of results are you seeing if you try searching for asset name*
and only check the "Administration Area Assets" within the UI?Thanks!
2 Posted by espanae on 08 Oct, 2015 07:47 PM
Hey Ryan,
Since restarting our server, we're getting the same results searching for asset name
*
from the Advanced Search tab withUsers
checked, as we do with the web services*
search.If the issue comes up again, I'll try the UI search, see what it returns and reopen this discussion, if necessary.
Thanks.
espanae closed this discussion on 08 Oct, 2015 07:49 PM.