LP#1739648 - fix grid nextPage button by setting grid.totalCount
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Mon, 8 Jan 2018 21:55:56 +0000 (16:55 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 12 Feb 2018 20:41:51 +0000 (15:41 -0500)
commitb35f0c0b92ca94a0fc151144d38ecaa40707ff70
treeacd2ec1506e95713d9054eed93786cd09bc20e0d
parent4cdc7cd6e32942331e4403349fdd13ff1c88ec03
LP#1739648 - fix grid nextPage button by setting grid.totalCount

This wires up the grid.totalCount in the implemented DataProvider's
get method, which allows us to properly disable the next page button
for when we know there's no more data.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/share/t_autogrid.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/holds.js
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
Open-ILS/web/js/ui/default/staff/services/grid.js