User search query strings are interpreted differently on some pages

Bug #799591 reported by Richard Mansfield
12
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.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/351
Committed: http://gitorious.org/mahara/mahara/commit/5bc6c5d3c46777b6de99ca46fbd47986ac7f4536
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 5bc6c5d3c46777b6de99ca46fbd47986ac7f4536
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: I41de40ce0f74c50c08da9ced9edeb29021865aa3
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/353
Committed: http://gitorious.org/mahara/mahara/commit/86f5484d4b0ad5e84dd4c952ee7b4005c5119d04
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 86f5484d4b0ad5e84dd4c952ee7b4005c5119d04
Author: Richard Mansfield <email address hidden>
Date: Mon Jun 20 18:56:25 2011 +1200

    Change query string interpretation in group member search (bug #799591)

    Change-Id: I1e5d9c4a6e2d62a2095af2afd48205c32aaa22f9
    Signed-off-by: Richard Mansfield <email address hidden>

Changed in mahara:
status: Confirmed → Fix Released
milestone: 1.5.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.