LP#1653001 webstaff: Holds pull list sortable columns user/berick/lp1653001-webstaff-idl-pull-list
authorBill Erickson <berick@esilibrary.com>
Wed, 20 Aug 2014 20:45:47 +0000 (16:45 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 1 Mar 2017 15:26:11 +0000 (10:26 -0500)
commitbbf46dcfa55d5c34cf6308e0a09bb9d7792d1e38
treed89297698814baac6dd810f04727cc9b15aed402
parent8e0bf85f8453c4b046815efd08d1a561494a3ce1
LP#1653001 webstaff: Holds pull list sortable columns

Retrieve holds for the pull list via the canned "ahopl" pull list IDL
class.  This lets the grid fetch the data via canned flattener query,
supporting server-side sort/limit/offset options.

To retain all previous UI behavior, primarily editing hold attributes
(e.g. notification prefs), hold details for each hold have to be fetched
(and cached) in addition to the main grid data.  The grid renders and
sorts the flattener data, then grid actions act upon the fleshed hold
details data.

Commit also includes:

1. Added some missing IDL links for the "ahopl" class.
2. Micro-optimization to egGrid to exit early when an invalid IDL path
   is provided.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
Open-ILS/web/js/ui/default/staff/circ/holds/app.js
Open-ILS/web/js/ui/default/staff/services/grid.js