From 17459ea06f05d865e5e48ee76ff3cc62e241f37e Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Wed, 22 Aug 2018 09:07:55 -0400 Subject: [PATCH] LP1733590: Only Print Selected Items Out The list of selected items being passed to print_receipt was being ignored and the whole list of items currently checked out used instead. This patch uses the list presented so staff can only print those items that they want to, such as a small number of items renewed today, etc. Signed-off-by: Jason Boyer --- Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js index 3823a86239..2a069f11de 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js @@ -347,7 +347,7 @@ function($scope, $q, $routeParams, $timeout, egCore , egUser, patronSvc , $ var print_data = {circulations : []}; var cusr = patronSvc.current; - angular.forEach(patronSvc.items_out, function(circ) { + angular.forEach(items, function(circ) { print_data.circulations.push({ circ : egCore.idl.toHash(circ), copy : egCore.idl.toHash(circ.target_copy()), -- 2.11.0