Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
// we want to see all processed holds, so (effectively) remove
// the grid limit.
- $scope.gridControls.setLimit(1000);
+ $scope.gridControls.setLimit(1000, true);
// initiate clear shelf and grab cache key
egCore.net.request(
grid.collect();
}
- controls.setLimit = function(limit) {
- if (grid.persistKey)
+ controls.setLimit = function(limit,forget) {
+ if (!forget && grid.persistKey)
egCore.hatch.setLocalItem('eg.grid.' + grid.persistKey + '.limit', limit);
grid.limit = limit;
}