LP14973322: Search for Users by Profile
authorJason Boyer <jboyer@library.in.gov>
Fri, 20 Apr 2018 18:49:25 +0000 (14:49 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 31 May 2018 11:32:18 +0000 (07:32 -0400)
commitc2922f1b1355f95ed00b9f33588428d528991a9e
treeda18aa52c6bebe1f223b4789d67b0c858b64e314
parentb6f079884abd096d411997655ac12849fcd695e9
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
Open-ILS/web/js/ui/default/staff/services/patron_search.js