LP#1641708 Work log avoid storing unneeded data user/berick/lp1641708-webstaff-worklog-lean-data
authorBill Erickson <berickxx@gmail.com>
Mon, 14 Nov 2016 19:36:59 +0000 (14:36 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 15 Feb 2017 15:40:45 +0000 (10:40 -0500)
commitf926b2173c3c447161acd9d5c1de266f554f153e
treeec6b1c02e615ed074b576ae323d1af6f09683651
parenta96ad2226ad237f6ae63c6eaf63e45db8fb87063
LP#1641708 Work log avoid storing unneeded data

Avoid storing full transaction data with each work log entry.  Only
store data need for work log display and actions.

Includes the addition of a new field (entry.hold_id) for hold requests
so that the value does not have live in the large data blob.

To test:

1. Peform checkouts, holds placements,  and other log-tracked actions
   in the client.
2. Open Administration -> Workstation -> Stored Preferences and see
   values for key "eg.patron_log".  Values added after the patch will only
   contain ~8 keys with string values, no large nested objects.
3. Open Administration -> Local Administration -> Work Log and confirm
   recent log-tracked actions are all represented in the grid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/admin/workstation/log.js
Open-ILS/web/js/ui/default/staff/services/ui.js