webstaff transit list: switch to egGridFlatDataProvider
authorGalen Charlton <gmc@esilibrary.com>
Tue, 15 Nov 2016 19:27:20 +0000 (14:27 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 22 Nov 2016 19:10:05 +0000 (14:10 -0500)
commitb959115fab86a03f38e5a6bd417b57db1d14796c
treebcc435f0ba37aedb1dbb8029ce163b40b093b54b
parent0e7377a1394ccee49819a30ba4a7f541408e8d56
webstaff transit list: switch to egGridFlatDataProvider

This gets us sorting "for free", or at least more easily than
with a custom-written data provider.  The following fields
are marked sortable for now:

- barcode
- title
- source library
- destination library
- send date/time

Because egGridFlatDataProvider gives us flattened hashes, not
fieldmapper objects, various tweaks were required to compensate.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/circ/transits/t_list.tt2
Open-ILS/web/js/ui/default/staff/circ/services/transits.js
Open-ILS/web/js/ui/default/staff/circ/transits/list.js