LP1806394: Placing Holds in Item Buckets user/jboyer/lp1806394_item_bucket_holds
authorJason Boyer <jboyer@library.in.gov>
Mon, 3 Dec 2018 13:11:29 +0000 (08:11 -0500)
committerJason Boyer <jboyer@library.in.gov>
Mon, 3 Dec 2018 13:11:29 +0000 (08:11 -0500)
A missing return prevents a list of item ids from
being built so no holds can be placed from item
buckets. This branch returns the return to its
proper place.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js

index f39346e..70eb084 100644 (file)
@@ -611,7 +611,7 @@ function($scope,  $q , $routeParams , $timeout , $window , $uibModal , bucketSvc
     $scope.requestItems = function() {
         var copy_list = $scope.gridControls.selectedItems().map(
             function (i) {
-                i.id;
+                return i.id;
             }
         );