LP#1739648 - fix item duplication in itemsout and holds grids
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Thu, 4 Jan 2018 22:36:02 +0000 (17:36 -0500)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Mon, 8 Jan 2018 22:01:20 +0000 (17:01 -0500)
commit5181e95cac931b0f30f9c17f1e71b48aa3ff0cfc
tree9562ec5c66c74dee8d39e8f7f996b9064b68e6ce
parent21d821cf4d5092d26a0a9d987655dd1843f68663
LP#1739648 - fix item duplication in itemsout and holds grids

Since these grids have caching, if the offset was greater
the cached data length, the grid would try to fetch data again, even if
it's already there, pushing duplicate items into the cache. This should
prevent that.

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