LP#1746769 - add item tag owner OU to label in volcopy editor
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Tue, 6 Nov 2018 19:14:04 +0000 (14:14 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Wed, 28 Nov 2018 13:57:41 +0000 (08:57 -0500)
Adding the owner to differentiate item tags with same label
that are owned by different OU.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 406c0c0..20c8257 100644 (file)
@@ -2149,7 +2149,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore ,
                         { order_by : { 'acpt' : ['label'] } }, { atomic: true }
                     ).then(function(list) {
                         return list.map(function(item) {
-                            return item.label();
+                            return item.label() + " (" + egCore.org.get(item.owner()).shortname() + ")";
                         });
                     });
                 }