]> git.evergreen-ils.org Git - Evergreen.git/commitdiff
LP1733590: Only Print Selected Items Out
authorJason Boyer <jboyer@library.in.gov>
Wed, 22 Aug 2018 13:07:55 +0000 (09:07 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 22 Aug 2018 17:42:58 +0000 (13:42 -0400)
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 <jboyer@library.in.gov>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js

index e1bcf2aacb4e7e540e71666a24f3d6f201ceb2fd..c836690e0c10db2ad19f4625b060a8d0327d22c2 100644 (file)
@@ -364,7 +364,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()),