From: Jason Boyer Date: Wed, 22 Aug 2018 13:07:55 +0000 (-0400) Subject: LP1733590: Only Print Selected Items Out X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f63117a14d54fdfeab20f62dd2ed4a56c7b32088;p=evergreen%2Fpines.git 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 Signed-off-by: Chris Sharp --- 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 b6d4b35488..950ea35527 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()),