[open-ils-commits] r17382 - branches/rel_2_0/Open-ILS/xul/staff_client/server/patron (senator)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 30 12:14:54 EDT 2010
Author: senator
Date: 2010-08-30 12:14:51 -0400 (Mon, 30 Aug 2010)
New Revision: 17382
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.js
Log:
Backport 17373, making "show item details" consistent within "items out" i'face
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.js 2010-08-30 15:57:37 UTC (rev 17381)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/items.js 2010-08-30 16:14:51 UTC (rev 17382)
@@ -132,7 +132,12 @@
'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); } ],
More information about the open-ils-commits
mailing list