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 <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
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 : {