]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1913811 Items out notice summary API batching
authorBill Erickson <berickxx@gmail.com>
Mon, 1 Feb 2021 15:54:18 +0000 (10:54 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 4 Feb 2021 16:27:00 +0000 (11:27 -0500)
commit7bd57547aadd779dc40441ae82407931e753357b
tree67220114e1c1d3514cab73b382e06785a46da60f
parent3acdbe10cd0c85e0e510a2c962e938a654750569
LP1913811 Items out notice summary API batching

Tweak the open-ils.actor.user.itemsout.notices API to accept an array of
circulation IDs so the call can be batched from the client.  Similarly
modify the AngJS client to request the notice summaries in batch.

Further improves the notices API by removing an unneeded join and a
minor security fix to verify perms based on the in-database user ID
instead of the ID provided by the caller (w/ the note that the API only
returns numbers, not user data).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js