[open-ils-commits] r20361 - in trunk/Open-ILS/xul/staff_client/server: cat patron (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun May 1 09:47:12 EDT 2011


Author: miker
Date: 2011-05-01 09:47:10 -0400 (Sun, 01 May 2011)
New Revision: 20361

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul
   trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js
Log:
Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244: bill_details.xul "Checkout or Renew Library" column is blank

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul	2011-05-01 12:21:39 UTC (rev 20360)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul	2011-05-01 13:47:10 UTC (rev 20361)
@@ -122,7 +122,7 @@
                                 } else {
                                     $w('copy_summary_callnumber',cn.label());    
                                 }
-                                g.list.append({'row':{'my':{'acp':copy,'acn':cn}}});
+                                g.list.append({'row':{'my':{'acp':copy,'acn':cn,'circ':xulG.circ}}});
                                 g.barcode = copy.barcode(); g.doc_id = cn.record();
                                 if (g.doc_id > -1) {
                                     $('show_in_opac').hidden = false;

Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js	2011-05-01 12:21:39 UTC (rev 20360)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js	2011-05-01 13:47:10 UTC (rev 20361)
@@ -91,7 +91,7 @@
                 var copy_summary = document.createElement('iframe'); csb.appendChild(copy_summary);
                 copy_summary.setAttribute('src',urls.XUL_COPY_SUMMARY); // + '?copy_id=' + r_circ.target_copy());
                 copy_summary.setAttribute('flex','1');
-                get_contentWindow(copy_summary).xulG = { 'copy_id' : r_circ.target_copy(), 'new_tab' : xulG.new_tab, 'url_prefix' : xulG.url_prefix };
+                get_contentWindow(copy_summary).xulG = { 'circ' : r_circ, 'copy_id' : r_circ.target_copy(), 'new_tab' : xulG.new_tab, 'url_prefix' : xulG.url_prefix };
 
                 g.network.simple_request(
                     'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative',



More information about the open-ils-commits mailing list