LP#1712854 - make hold grids set grid.totalCount user/cesardv/collab_lp1712854_clientsort_hold_grids
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 12 Jan 2018 17:18:31 +0000 (12:18 -0500)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 12 Jan 2018 17:18:31 +0000 (12:18 -0500)
commit8ae358405f107d317e01580e4036a054e89f8472
tree7f518b8b42024ca5f02a5a74e5d8ed46f81a48b5
parent383f328c07f5c48e69e133dd8e66cb1f05abd4cc
LP#1712854 - make hold grids set grid.totalCount

Since we are pre-fetching all holds for these grids, we know
the totalCount and thus we can make the grid behave better.
Avoid the weirdness described in bug 1739648, which this patch
depends on.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
Open-ILS/web/js/ui/default/staff/circ/holds/app.js