webstaff transit list: switch to egGridFlatDataProvider
authorGalen Charlton <gmc@esilibrary.com>
Tue, 15 Nov 2016 19:27:20 +0000 (14:27 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 15 Nov 2016 19:27:20 +0000 (14:27 -0500)
commit09286f562a092cf48fd575706d66deddc88be8db
tree8a7a76bced42bf4704c066a3f814cda1c7629670
parentaccaf7bf52e973e7343fdf616b4658f87c5f721f
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>
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