From 32fc39442782e8c80430e3c7d32e723973882a04 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 29 Jun 2017 17:11:11 -0400 Subject: [PATCH] webstaff: SCT editor now displays location names qualified with OU Signed-off-by: Galen Charlton --- Open-ILS/src/templates/staff/admin/serials/t_attr_edit.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/admin/serials/app.js | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/staff/admin/serials/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/admin/serials/t_attr_edit.tt2 index d1be2d35e4..a4bfecf843 100644 --- a/Open-ILS/src/templates/staff/admin/serials/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/admin/serials/t_attr_edit.tt2 @@ -133,7 +133,7 @@
diff --git a/Open-ILS/web/js/ui/default/staff/admin/serials/app.js b/Open-ILS/web/js/ui/default/staff/admin/serials/app.js index 71ac4f284b..81f68e4aa4 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/serials/app.js +++ b/Open-ILS/web/js/ui/default/staff/admin/serials/app.js @@ -93,7 +93,13 @@ function(egCore , $q) { owning_lib : orgs, deleted : 'f' }, - {order_by : { acpl : 'name' }}, {atomic : true} + { + flesh : 1, + flesh_fields : { + 'acpl' : ['owning_lib'] + }, + order_by : { acpl : 'name' } + }, {atomic : true} ); }; @@ -502,7 +508,8 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , }; $scope.location_orgs = []; $scope.location_cache = {}; - + + $scope.i18n = egCore.i18n; $scope.location_list = []; itemSvc.get_locations( egCore.org.fullPath( egCore.auth.user().ws_ou(), true ) -- 2.11.0