webstaff: Force refresh from server on copy delete
authorMike Rylander <mrylander@gmail.com>
Wed, 14 Oct 2015 16:03:28 +0000 (12:03 -0400)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:51 +0000 (14:58 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js

index 50a63d9..04b75d8 100644 (file)
@@ -889,7 +889,9 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
                 'open-ils.cat.asset.volume.fleshed.batch.update.override',
                 egCore.auth.token(), cnList, 1, flags
             ).then(function(update_count) {
-                $scope.holdingsGridDataProvider.refresh();
+                holdingsSvcInst.fetchAgain().then(function() {
+                    $scope.holdingsGridDataProvider.refresh();
+                });
             });
         });
     }