Comment 1 for bug 1959461

Revision history for this message
Jeff Godin (jgodin) wrote :

I think the fleshing of org unit on standing penalties is so that we have at least the org unit name/shortcode when displaying the penalties later in the client.

It seems unlikely that we need the children of the org unit, if any.

In addition to not fleshing a large number of aou objects on each standing penalty, we might not even need to send the standing_penalties field contents to the server when saving the patron.

For now, an approach to clone and set children of the fleshed org unit to an empty array seems to help address the issue.

see working branch user/jeff/lp1959461_avoid_fleshing_org_unit_children

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jeff/lp1959461_avoid_fleshing_org_unit_children