From a7e849bdd4309e822ba73dc3b76642ad592610de Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 30 Aug 2010 14:57:56 +0000 Subject: [PATCH] Make "show item details" consistent for top AND bottom of patron items out git-svn-id: svn://svn.open-ils.org/ILS/trunk@17373 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/items.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index d9a804e49..50eeb7b9e 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -132,7 +132,12 @@ patron.items.prototype = { 'sel_copy_details2' : [ ['command'], function() { JSAN.use('circ.util'); - for (var i = 0; i < obj.retrieve_ids2.length; i++) { circ.util.show_copy_details( obj.retrieve_ids2[i].copy_id ); } + circ.util.item_details_new( + util.functional.map_list( + obj.retrieve_ids2, + function(o) { return o.barcode; } + ) + ); } ], 'cmd_items_print' : [ ['command'], function() { obj.items_print(1); } ], -- 2.11.0