User search query strings are interpreted differently on some pages
Bug #799591 reported by
Richard Mansfield
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Richard Mansfield |
Bug Description
Changes to the user search query parsing have left admin, institutional admin, and group members searches inconsistent.
The current behaviour of admin & group searches is to take the search terms and combine them with OR, with the one exception that two terms in a quoted phrase are interpreted as a search for "firstname lastname".
We should change them to be the same as the new general user search: search terms are combined with AND; quoted phrases can search for multiple words together inside a single field ("van Gogh"); and the search respects the "exact user searches" checkbox in the internal search plugin config.
Changed in mahara: | |
status: | Confirmed → Fix Released |
milestone: | 1.5.0 → none |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/351 gitorious. org/mahara/ mahara/ commit/ 5bc6c5d3c46777b 6de99ca46fbd479 86ac7f4536
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit 5bc6c5d3c46777b 6de99ca46fbd479 86ac7f4536
Author: Richard Mansfield <email address hidden>
Date: Tue Jun 21 09:46:12 2011 +1200
Change interpretation of admin user search query (bug #799591)
In admin user search, in the internal search plugin, use similar behaviour
to ordinary user searches: Join search terms by "AND", search quoted phrases
within a single field, respect the exact searches setting in the internal
search plugin configuration.
Change-Id: I41de40ce0f74c5 0c08da9ced9edeb 29021865aa3
Signed-off-by: Richard Mansfield <email address hidden>