LP#1777207: teach egGrid how to prepend rows more efficiently
[evergreen-equinox.git] / Open-ILS / web / js / ui / default / staff / circ / patron / checkout.js
index f3df2d8..d79811c 100644 (file)
@@ -189,7 +189,7 @@ function($scope , $q , $routeParams , egCore , egUser , patronSvc ,
         };
 
         $scope.checkouts.unshift(row_item);
-        $scope.gridDataProvider.refresh();
+        $scope.gridDataProvider.prepend();
 
         egCore.hatch.setItem('circ.checkout.strict_barcode', $scope.strict_barcode);
         var options = {check_barcode : $scope.strict_barcode};