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>
Sun, 20 Feb 2022 16:28:24 +0000 (11:28 -0500)
commitc4489e045238388ff9f66d2b7e254a5f79c8b186
treea003886eee3669eba7e45fb37d6999d01071509d
parentfd9a16d3f416d2966bf03746bcc71562d5aabdad
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>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/services/patron_search.js