LP14973322: Search for Users by Profile
authorJason Boyer <jboyer@library.in.gov>
Fri, 20 Apr 2018 18:49:25 +0000 (14:49 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 22 May 2018 19:54:35 +0000 (15:54 -0400)
commitce419b57e2d8b3091d9703261a106f74000a3ba9
tree03206678e190149245bc04f748044724c9e057ef
parent28f155fe7a0def347e6b01a59d94d4780f766410
LP14973322: Search for Users by Profile

Stop treating profile like a text value, instead
include users in the selected profiles and descendants.

To test
-------
[0] Search for users by last name (and / or first) and do not
    select a profile, take note of results
[1] Select the top of your permission group tree (Users, likely) and
    search again, results should be the same.
[2] Select a group further down the tree (Circulators, Administrators,
    Patrons, etc.) and repeat the search, there should only be results
    from that group and its descendants.
[3] Finally, select a group with no child groups. Results will only be
    that specific group.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
Open-ILS/web/js/ui/default/staff/services/patron_search.js