[open-ils-commits] r14238 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 30 16:27:03 EDT 2009


Author: phasefx
Date: 2009-09-30 16:26:58 -0400 (Wed, 30 Sep 2009)
New Revision: 14238

Modified:
   trunk/Open-ILS/xul/staff_client/server/circ/checkin.js
Log:
patron data for checkin rows

Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkin.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkin.js	2009-09-30 20:24:44 UTC (rev 14237)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkin.js	2009-09-30 20:26:58 UTC (rev 14238)
@@ -35,7 +35,7 @@
 				'except_these' : [ 'uses', 'checkin_time_full' ]
 			}
 		).concat(
-            patron.util.columns( {} )
+            patron.util.columns( { 'family_name' : { 'hidden' : 'false' } } )
 
         ).concat(
             patron.util.mbts_columns( {}, { 'except_these' : [ 'total_paid', 'total_owed', 'xact_start', 'xact_finish', 'xact_type' ] } )
@@ -318,6 +318,14 @@
                             document.getElementById('fine_tally').setAttribute('hidden','false');
                         }
                     });
+
+                    if (row.my.circ) {
+                        obj.network.simple_request('FM_AU_FLESHED_RETRIEVE_VIA_ID.authoritative', [ses(),row.my.circ.usr()], function(req) {
+                            var au_obj = req.getResultObject();
+                            row.my.au = au_obj;
+                            if (typeof params.on_retrieve == 'function') params.on_retrieve(row);
+                        } );
+                    }
                 }
             } catch(E) {
                 alert('Error in checkin.js, list_retrieve_row(): ' + E);



More information about the open-ils-commits mailing list