Avoid fleshing standing penalty org unit children user/jeff/lp1959461_avoid_fleshing_org_unit_children
authorJeff Godin <jgodin@tadl.org>
Fri, 28 Jan 2022 22:54:38 +0000 (17:54 -0500)
committerJeff Godin <jgodin@tadl.org>
Fri, 28 Jan 2022 22:59:40 +0000 (17:59 -0500)
commit1d6f2b25a7436060b20326e2b41b3b8ef4c306b0
treec86604b4ed41e15740d078780b3827c172e224af
parente7b98ca69a9d58d47fc71ea13d14ef1478c5afb2
Avoid fleshing standing penalty org unit children

When fleshing the org unit on standing penalties, exclude child org
units. We don't need them, and they can cause issues when your
standing penalty has a Depth of "Everywhere": you end up with a full
copy of the org unit tree, and you will include this when editing
and saving the user.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/js/ui/default/staff/services/patron_search.js