[open-ils-commits] r9053 - trunk/Open-ILS/xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Mar 16 05:31:21 EDT 2008


Author: phasefx
Date: 2008-03-16 04:57:28 -0400 (Sun, 16 Mar 2008)
New Revision: 9053

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
Log:
show last name of bucket owner

Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js	2008-03-16 08:55:04 UTC (rev 9052)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js	2008-03-16 08:57:28 UTC (rev 9053)
@@ -277,7 +277,7 @@
 										x = document.getElementById('bucket_owner');
 										var s = bucket.owner(); JSAN.use('patron.util');
 										if (s && typeof s != "object") s = patron.util.retrieve_fleshed_au_via_id(ses(),s); 
-										x.setAttribute('value',s.card().barcode() + " @ " + obj.data.hash.aou[ s.home_ou() ].shortname());
+										x.setAttribute('value',s.family_name() + ' (' + s.card().barcode() + ") @ " + obj.data.hash.aou[ s.home_ou() ].shortname());
 									} catch(E) {
 										alert(E);
 									}



More information about the open-ils-commits mailing list