LP#1735807 Webstaff holdings owning lib shortname user/berick/lp1735807-holdings-lib-shortname
authorBill Erickson <berickxx@gmail.com>
Fri, 1 Dec 2017 19:20:57 +0000 (14:20 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 1 Dec 2017 19:21:00 +0000 (14:21 -0500)
Display org unit shortnames in the web staff bib record Holdings View
-> Owning Library column, since displaying the full names requires
significant horizontal space.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/services/holdings.js

index 1d97a49..f0e0185 100644 (file)
@@ -253,7 +253,7 @@ function(egCore , $q) {
 
                 var owner_name_list = [];
                 while (owner.parent_ou()) { // we're going to skip the top of the tree...
-                    owner_name_list.unshift(owner.name());
+                    owner_name_list.unshift(owner.shortname());
                     owner = egCore.org.get(owner.parent_ou());
                 }