LP#1735807 Webstaff holdings owning lib shortname
authorBill Erickson <berickxx@gmail.com>
Fri, 1 Dec 2017 19:20:57 +0000 (14:20 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Mon, 18 Dec 2017 05:12:48 +0000 (00:12 -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>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
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());
                 }