Avoid fleshing standing penalty org unit children
authorJeff Godin <jgodin@tadl.org>
Fri, 28 Jan 2022 22:54:38 +0000 (17:54 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 29 Jan 2022 11:43:40 +0000 (06:43 -0500)
commit3696a5075511ba19e3132ff7e783a1892fbf47c3
tree59f2980016734c4e5e0bd55e6afed44e8596e8d0
parent00445e877b2004a1e1cb783875a8a40be271a061
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