LP#1739648 - fix grid nextPage button by setting grid.totalCount user/cesardv/lp1739648_grid_paging_caused_dupss
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Mon, 8 Jan 2018 21:55:56 +0000 (16:55 -0500)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Thu, 8 Feb 2018 16:37:17 +0000 (11:37 -0500)
commit70c35de64b4ad57c68bc9a57670a948a6728d9ff
treed44a05e8e012bcc486178053f4a343ac2359a07c
parent5181e95cac931b0f30f9c17f1e71b48aa3ff0cfc
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>
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