]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1641708 Work log avoid storing unneeded data
authorBill Erickson <berickxx@gmail.com>
Mon, 14 Nov 2016 19:36:59 +0000 (14:36 -0500)
committerKathy Lussier <klussier@masslnc.org>
Wed, 19 Apr 2017 02:24:50 +0000 (22:24 -0400)
commitb4090249374f07ea931116fc6a0e905b1e2f3433
tree0ae59e3ff5db9701d62ad370250bed4d9ef28701
parent687da46854a5ef887e97363713d814c5750a6c1e
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/admin/workstation/log.js
Open-ILS/web/js/ui/default/staff/services/ui.js