When staff place holds on a record within the Holdings View via the
Request Items function, reset the holds grid data so it bypasses the
cache and refetches the holds, including the new holds.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
'open-ils.circ',
'open-ils.circ.holds.test_and_create.batch.override',
egCore.auth.token(), args, h.copy_list
- );
-
- $uibModalInstance.close();
+ ).then(function() {
+ holds = []; // force the holds grid to refetch data.
+ $uibModalInstance.close();
+ });
}
$scope.cancel = function($event) {