From b360117be6c1efc24da34612a080a2d942134206 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 24 Jun 2011 19:29:30 -0400 Subject: [PATCH] Show human label for Internet Access Level in Patron Search Looks like fm_columns uses a prefix of "au_" for the column name defined in util.js. Therefore, au_net_access_level lets us define the label to display in place of the integer value. Signed-off-by: Dan Scott --- Open-ILS/xul/staff_client/server/patron/search_result.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/search_result.js b/Open-ILS/xul/staff_client/server/patron/search_result.js index 5099ce803f..5449753379 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_result.js +++ b/Open-ILS/xul/staff_client/server/patron/search_result.js @@ -39,7 +39,8 @@ patron.search_result.prototype = { 'au_dob' : { 'hidden' : false }, 'au_profile' : { 'fleshed_display_field' : 'name' }, 'au_ident_type' : { 'fleshed_display_field' : 'name' }, - 'au_ident_type2' : { 'fleshed_display_field' : 'name' } + 'au_ident_type2' : { 'fleshed_display_field' : 'name' }, + 'au_net_access_level' : { 'fleshed_display_field' : 'name' } }).concat( obj.list.fm_columns('ac',{ '*' : { 'remove_virtual' : true, 'expanded_label' : true, 'hidden' : true }, -- 2.43.2