From ff594760f97a87492071b67d08dd9df84b5795c0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 25 Feb 2014 15:33:32 -0500 Subject: [PATCH] LP#1284864 display code value code in composite def builder When selected code values to add to a composite definition in the coded value map composite def. editor, display both the label and the code, as many people or more familiar w/ the codes than the labels. Signed-off-by: Bill Erickson --- .../default/conify/global/config/composite_attr_entry_definition.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/conify/global/config/composite_attr_entry_definition.js b/Open-ILS/web/js/ui/default/conify/global/config/composite_attr_entry_definition.js index daa34db109..29b61c4b93 100644 --- a/Open-ILS/web/js/ui/default/conify/global/config/composite_attr_entry_definition.js +++ b/Open-ILS/web/js/ui/default/conify/global/config/composite_attr_entry_definition.js @@ -258,7 +258,10 @@ function buildSelectors() { var items = []; dojo.forEach(maps, function(map) { codedValueMaps[map.id()] = map; - items.push({name : map.value(), value : map.id()}); + items.push({ + name : map.value() + ' (' + map.code() + ')', + value : map.id() + }); }); ccvmSelector.store = new dojo.data.ItemFileReadStore({ data : { -- 2.11.0