show last name of bucket owner
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 16 Mar 2008 08:57:28 +0000 (08:57 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 16 Mar 2008 08:57:28 +0000 (08:57 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9053 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/record_buckets.js

index a448e3f..59997d0 100644 (file)
@@ -277,7 +277,7 @@ cat.record_buckets.prototype = {
                                                                                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);
                                                                        }