Skip to content

Commit 61d7063

Browse files
IanSkelskeysandbergja
authored andcommitted
LP#1952388: fix adding to Record Bucket from Item Status Detail View
Correct the method call in the app.js file to ensure that items can be added to a Record Bucket from the Item Status Detail View. This resolves the issue where \"Add to Record Bucket\" fails silently due to a TypeError. - Change `itemSvc.add_records_to_bucket` to `itemSvc.add_copies_to_bucket` in the `add_records_to_bucket` function. Release-Note: fix inability to add items to Record Bucket from Item Status Detail View. Signed-off-by: Ian Skelskey <[email protected]> Signed-off-by: Jane Sandberg <[email protected]> Signed-off-by: Steven Mayo <[email protected]> Signed-off-by: Shula Link <[email protected]> Signed-off-by: Michele Morgan <[email protected]> Signed-off-by: Ruth Frasur Davis <[email protected]>
1 parent f1feb38 commit 61d7063

File tree

1 file changed

+1
-1
lines changed
  • Open-ILS/web/js/ui/default/staff/cat/item

1 file changed

+1
-1
lines changed

Open-ILS/web/js/ui/default/staff/cat/item/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD
8787
}
8888

8989
$scope.add_records_to_bucket = function() {
90-
itemSvc.add_records_to_bucket([$scope.args.recordId], 'biblio');
90+
itemSvc.add_copies_to_bucket([$scope.args.recordId], 'biblio');
9191
}
9292

9393
$scope.show_in_catalog = function() {

0 commit comments

Comments
 (0)