]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1697954 Hold details API additional fleshing
authorBill Erickson <berickxx@gmail.com>
Wed, 21 Jun 2017 16:09:37 +0000 (12:09 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 14:44:29 +0000 (10:44 -0400)
commit07425b0cc1737a515af877d66fdd5f349514a2e8
tree0dd7f13bfa00eda499d1711c7b0c96ee220c4932
parent63cebb9dcdb960d754322a4aad810d351e1f4a84
LP#1697954 Hold details API additional fleshing

* Support new flesh options in hold details retrieval API:

include_current_copy
include_usr
include_cancel_cause
include_requestor

* Teach browser client code to use the new flesh options.  This reduces
  the number of API calls significantly for rendering holds grids.

* Add debug logging to existing local-flesh calls to indicate when/if
  additional API fleshing may be needed.

* Remove TODO comment about batching holds to avoid cstore exhaustion,
  which was fixed with LP#1653001.  However, leave the batching in place
  since it noticeably improves UI responsiveness, at the cost of a few
  extra API calls.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/web/js/ui/default/staff/circ/services/holds.js