Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<div class="col-md-6" ng-class="{'bg-success': working.location !== undefined}">
<select class="form-control"
ng-disabled="!defaults.attributes.location" ng-model="working.location"
- ng-options="l.id() as l.name() for l in location_list"
+ ng-options="l.id() as i18n.ou_qualified_location_name(l) for l in location_list"
></select>
</div>
<div class="col-md-6" ng-class="{'bg-success': working.opac_visible !== undefined}">
owning_lib : orgs,
deleted : 'f'
},
- {order_by : { acpl : 'name' }}, {atomic : true}
+ {
+ flesh : 1,
+ flesh_fields : {
+ 'acpl' : ['owning_lib']
+ },
+ order_by : { acpl : 'name' }
+ }, {atomic : true}
);
};
};
$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 )