LP#1653001 webstaff: Holds pull list sortable columns
authorBill Erickson <berick@esilibrary.com>
Wed, 20 Aug 2014 20:45:47 +0000 (16:45 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 3 Mar 2017 15:56:11 +0000 (10:56 -0500)
commite59ffd6c0500f21858d701c584eaa3d2f568c21b
tree299ad9c200733f78b7a43adc005198b56d8c7a37
parent2aeaaebe87485de8d4b3192292858b5cd3c67c0e
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