From 9b593ad22e0d96f3500dde5a5150436d4b0017eb Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 11 Aug 2006 17:26:06 +0000 Subject: [PATCH] wishful thinking git-svn-id: svn://svn.open-ils.org/ILS/trunk@5471 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 146 ++++++++++++------------ Open-ILS/xul/staff_client/server/patron/util.js | 114 +++++++++--------- 2 files changed, 130 insertions(+), 130 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index a47c287478..878a7aa165 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -354,157 +354,157 @@ circ.util.columns = function(modify,params) { var c = [ { 'id' : 'acp_id', 'label' : getString('staff.acp_label_id'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'my.acp.id()', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'my.acp.id()', 'persist' : 'hidden width ordinal', }, { 'id' : 'circ_id', 'label' : getString('staff.circ_label_id'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'my.circ.id()', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'my.circ.id()', 'persist' : 'hidden width ordinal', }, { 'id' : 'mvr_doc_id', 'label' : getString('staff.mvr_label_doc_id'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.doc_id()', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.doc_id()', 'persist' : 'hidden width ordinal', }, { 'id' : 'barcode', 'label' : getString('staff.acp_label_barcode'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'my.acp.barcode()', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'my.acp.barcode()', 'persist' : 'hidden width ordinal', }, { 'id' : 'call_number', 'label' : getString('staff.acp_label_call_number'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : ' if (my.acp && my.acp.call_number() == -1) { "Not Cataloged"; } else { if (!my.acn) { var x = obj.network.simple_request("FM_ACN_RETRIEVE",[ my.acp.call_number() ]); if (x.ilsevent) { "Not Cataloged"; } else { my.acn = x; x.label(); } } else { my.acn.label(); } } ' , 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : ' if (my.acp && my.acp.call_number() == -1) { "Not Cataloged"; } else { if (!my.acn) { var x = obj.network.simple_request("FM_ACN_RETRIEVE",[ my.acp.call_number() ]); if (x.ilsevent) { "Not Cataloged"; } else { my.acn = x; x.label(); } } else { my.acn.label(); } } ' , 'persist' : 'hidden width ordinal', }, { 'id' : 'owning_lib', 'label' : 'Owning Lib', 'flex' : 1, 'primary' : false, 'hidden' : true, - 'render' : 'if (Number(my.acn.owning_lib())>=0) obj.data.hash.aou[ my.acn.owning_lib() ].shortname(); else my.acn.owning_lib().shortname();', 'persist' : 'hidden width', + 'render' : 'if (Number(my.acn.owning_lib())>=0) obj.data.hash.aou[ my.acn.owning_lib() ].shortname(); else my.acn.owning_lib().shortname();', 'persist' : 'hidden width ordinal', }, { 'id' : 'copy_number', 'label' : getString('staff.acp_label_copy_number'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'my.acp.copy_number()', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'my.acp.copy_number()', 'persist' : 'hidden width ordinal', }, { 'id' : 'location', 'label' : getString('staff.acp_label_location'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.acp.location())>=0) obj.data.lookup("acpl", my.acp.location() ).name(); else my.acp.location().name();', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.acp.location())>=0) obj.data.lookup("acpl", my.acp.location() ).name(); else my.acp.location().name();', 'persist' : 'hidden width ordinal', }, { 'id' : 'loan_duration', 'label' : getString('staff.acp_label_loan_duration'), 'flex' : 1, 'primary' : false, 'hidden' : true, - 'render' : 'switch(my.acp.loan_duration()){ case 1: "Short"; break; case 2: "Normal"; break; case 3: "Long"; break; }', 'persist' : 'hidden width', + 'render' : 'switch(my.acp.loan_duration()){ case 1: "Short"; break; case 2: "Normal"; break; case 3: "Long"; break; }', 'persist' : 'hidden width ordinal', }, { 'id' : 'circ_lib', 'label' : getString('staff.acp_label_circ_lib'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.acp.circ_lib())>=0) obj.data.hash.aou[ my.acp.circ_lib() ].shortname(); else my.acp.circ_lib().shortname();', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.acp.circ_lib())>=0) obj.data.hash.aou[ my.acp.circ_lib() ].shortname(); else my.acp.circ_lib().shortname();', 'persist' : 'hidden width ordinal', }, { 'id' : 'fine_level', 'label' : getString('staff.acp_label_fine_level'), 'flex' : 1, 'primary' : false, 'hidden' : true, - 'render' : 'switch(my.acp.fine_level()){ case 1: "Low"; break; case 2: "Normal"; break; case 3: "High"; break; }', 'persist' : 'hidden width', + 'render' : 'switch(my.acp.fine_level()){ case 1: "Low"; break; case 2: "Normal"; break; case 3: "High"; break; }', 'persist' : 'hidden width ordinal', }, { 'id' : 'circulate', 'label' : 'Circulate?', 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.circulate() ) ? "Yes" : "No"', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.circulate() ) ? "Yes" : "No"', 'persist' : 'hidden width ordinal', }, { 'id' : 'holdable', 'label' : 'Holdable?', 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.holdable() ) ? "Yes" : "No"', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.holdable() ) ? "Yes" : "No"', 'persist' : 'hidden width ordinal', }, { 'id' : 'opac_visible', 'label' : 'OPAC Visible?', 'flex' : 1, - 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.opac_visible() ) ? "Yes" : "No"', 'persist' : 'hidden width', + 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.opac_visible() ) ? "Yes" : "No"', 'persist' : 'hidden width ordinal', }, { - 'persist' : 'hidden width', 'id' : 'ref', 'label' : 'Reference?', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'ref', 'label' : 'Reference?', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.ref() ) ? "Yes" : "No"' }, { - 'persist' : 'hidden width', 'id' : 'deposit', 'label' : 'Deposit?', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'deposit', 'label' : 'Deposit?', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.acp.deposit() ) ? "Yes" : "No"' }, { - 'persist' : 'hidden width', 'id' : 'deposit_amount', 'label' : getString('staff.acp_label_deposit_amount'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'deposit_amount', 'label' : getString('staff.acp_label_deposit_amount'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.acp.deposit_amount()' }, { - 'persist' : 'hidden width', 'id' : 'price', 'label' : getString('staff.acp_label_price'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'price', 'label' : getString('staff.acp_label_price'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.acp.price()' }, { - 'persist' : 'hidden width', 'id' : 'circ_as_type', 'label' : getString('staff.acp_label_circ_as_type'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'circ_as_type', 'label' : getString('staff.acp_label_circ_as_type'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.acp.circ_as_type()' }, { - 'persist' : 'hidden width', 'id' : 'circ_modifier', 'label' : getString('staff.acp_label_circ_modifier'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'circ_modifier', 'label' : getString('staff.acp_label_circ_modifier'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.acp.circ_modifier()' }, { - 'persist' : 'hidden width', 'id' : 'xact_start', 'label' : getString('staff.circ_label_xact_start'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact_start', 'label' : getString('staff.circ_label_xact_start'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.circ.xact_start()' }, { - 'persist' : 'hidden width', 'id' : 'checkin_time', 'label' : 'Checkin Time', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'checkin_time', 'label' : 'Checkin Time', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.circ.checkin_time().substr(0,16)' }, { - 'persist' : 'hidden width', 'id' : 'xact_finish', 'label' : 'Transaction Finished', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact_finish', 'label' : 'Transaction Finished', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.circ.xact_finish()' }, { - 'persist' : 'hidden width', 'id' : 'due_date', 'label' : getString('staff.circ_label_due_date'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'due_date', 'label' : getString('staff.circ_label_due_date'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.circ.due_date().substr(0,10)' }, { - 'persist' : 'hidden width', 'id' : 'title', 'label' : getString('staff.mvr_label_title'), 'flex' : 2, + 'persist' : 'hidden width ordinal', 'id' : 'title', 'label' : getString('staff.mvr_label_title'), 'flex' : 2, 'primary' : false, 'hidden' : true, 'render' : 'try { my.mvr.title(); } catch(E) { my.acp.dummy_title(); }' }, { - 'persist' : 'hidden width', 'id' : 'author', 'label' : getString('staff.mvr_label_author'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'author', 'label' : getString('staff.mvr_label_author'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'try { my.mvr.author(); } catch(E) { my.acp.dummy_author(); }' }, { - 'persist' : 'hidden width', 'id' : 'edition', 'label' : 'Edition', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'edition', 'label' : 'Edition', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.edition();' }, { - 'persist' : 'hidden width', 'id' : 'isbn', 'label' : 'ISBN', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'isbn', 'label' : 'ISBN', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.isbn();' }, { - 'persist' : 'hidden width', 'id' : 'pubdate', 'label' : 'PubDate', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'pubdate', 'label' : 'PubDate', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.pubdate();' }, { - 'persist' : 'hidden width', 'id' : 'publisher', 'label' : 'Publisher', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'publisher', 'label' : 'Publisher', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.publisher();' }, { - 'persist' : 'hidden width', 'id' : 'tcn', 'label' : 'TCN', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'tcn', 'label' : 'TCN', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.tcn();' }, { - 'persist' : 'hidden width', 'id' : 'renewal_remaining', 'label' : getString('staff.circ_label_renewal_remaining'), 'flex' : 0, + 'persist' : 'hidden width ordinal', 'id' : 'renewal_remaining', 'label' : getString('staff.circ_label_renewal_remaining'), 'flex' : 0, 'primary' : false, 'hidden' : true, 'render' : 'my.circ.renewal_remaining()' }, { - 'persist' : 'hidden width', 'id' : 'stop_fines', 'label' : 'Fines Stopped', 'flex' : 0, + 'persist' : 'hidden width ordinal', 'id' : 'stop_fines', 'label' : 'Fines Stopped', 'flex' : 0, 'primary' : false, 'hidden' : true, 'render' : 'my.circ.stop_fines()' }, { - 'persist' : 'hidden width', 'id' : 'status', 'label' : getString('staff.acp_label_status'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'status', 'label' : getString('staff.acp_label_status'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.acp.status())>=0) obj.data.hash.ccs[ my.acp.status() ].name(); else my.acp.status().name();' }, { - 'persist' : 'hidden width', 'id' : 'route_to', 'label' : 'Route To', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'route_to', 'label' : 'Route To', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.route_to.toString()' }, { - 'persist' : 'hidden width', 'id' : 'message', 'label' : 'Message', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'message', 'label' : 'Message', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.message.toString()' }, { - 'persist' : 'hidden width', 'id' : 'uses', 'label' : '# of Uses', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'uses', 'label' : '# of Uses', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.uses' }, { - 'persist' : 'hidden width', 'id' : 'alert_message', 'label' : 'Alert Message', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'alert_message', 'label' : 'Alert Message', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.acp.alert_message()' }, ]; @@ -537,23 +537,23 @@ circ.util.transit_columns = function(modify,params) { var c = [ { - 'persist' : 'hidden width', 'id' : 'id', 'label' : 'Transit ID', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : 'Transit ID', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.atc.id()' }, { - 'persist' : 'hidden width', 'id' : 'transit_source', 'label' : 'Transit Source', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_source', 'label' : 'Transit Source', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'typeof my.atc.source() == "object" ? my.atc.source().shortname() : obj.data.hash.aou[ my.atc.source() ].shortname()' }, { - 'persist' : 'hidden width', 'id' : 'transit_source_send_time', 'label' : 'Transitted On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_source_send_time', 'label' : 'Transitted On', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.atc.source_send_time()' }, { - 'persist' : 'hidden width', 'id' : 'transit_dest_lib', 'label' : 'Transit Destination', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_dest_lib', 'label' : 'Transit Destination', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'typeof my.atc.dest() == "object" ? my.atc.dest().shortname() : obj.data.hash.aou[ my.atc.dest() ].shortname()' }, { - 'persist' : 'hidden width', 'id' : 'transit_dest_recv_time', 'label' : 'Transit Completed On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_dest_recv_time', 'label' : 'Transit Completed On', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.atc.dest_recv_time()' }, ]; @@ -587,126 +587,126 @@ circ.util.hold_columns = function(modify,params) { var c = [ { - 'persist' : 'hidden width', 'id' : 'request_time', 'label' : getString('staff.ahr_request_time_label'), 'flex' : 0, + 'persist' : 'hidden width ordinal', 'id' : 'request_time', 'label' : getString('staff.ahr_request_time_label'), 'flex' : 0, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.request_time().toString().substr(0,10)' }, { - 'persist' : 'hidden width', 'id' : 'available_time', 'label' : 'Available On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'available_time', 'label' : 'Available On', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.ahr.transit() ? ( my.ahr.transit().dest_recv_time() ? my.ahr.transit().dest_recv_time().toString().substr(0,10) : "") : ( my.ahr.capture_time() ? my.ahr.capture_time().toString().substr(0,10) : "" )', }, { - 'persist' : 'hidden width', 'id' : 'capture_time', 'label' : getString('staff.ahr_capture_time_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'capture_time', 'label' : getString('staff.ahr_capture_time_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.capture_time() ? my.ahr.capture_time().toString().substr(0,10) : "???"' }, { - 'persist' : 'hidden width', 'id' : 'status', 'label' : getString('staff.ahr_status_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'status', 'label' : getString('staff.ahr_status_label'), 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'switch(my.status) { case 1: case "1": "Waiting for copy"; break; case 2: case "2": "Waiting for capture"; break; case 3: case "3": "In-Transit"; break; case 4: case "4" : "Ready for pickup"; break; default: my.status; break;}' }, { - 'persist' : 'hidden width', 'id' : 'hold_type', 'label' : getString('staff.ahr_hold_type_label'), 'flex' : 0, + 'persist' : 'hidden width ordinal', 'id' : 'hold_type', 'label' : getString('staff.ahr_hold_type_label'), 'flex' : 0, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.hold_type()' }, { - 'persist' : 'hidden width', 'id' : 'pickup_lib', 'label' : getString('staff.ahr_pickup_lib_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'pickup_lib', 'label' : getString('staff.ahr_pickup_lib_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.ahr.pickup_lib())>=0) obj.data.hash.aou[ my.ahr.pickup_lib() ].name(); else my.ahr.pickup_lib().name();' }, { - 'persist' : 'hidden width', 'id' : 'pickup_lib_shortname', 'label' : getString('staff.ahr_pickup_lib_label'), 'flex' : 0, + 'persist' : 'hidden width ordinal', 'id' : 'pickup_lib_shortname', 'label' : getString('staff.ahr_pickup_lib_label'), 'flex' : 0, 'primary' : false, 'hidden' : true, 'render' : 'if (Number(my.ahr.pickup_lib())>=0) obj.data.hash.aou[ my.ahr.pickup_lib() ].shortname(); else my.ahr.pickup_lib().shortname();' }, { - 'persist' : 'hidden width', 'id' : 'current_copy', 'label' : getString('staff.ahr_current_copy_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'current_copy', 'label' : getString('staff.ahr_current_copy_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.acp ? my.acp.barcode() : "No Copy"' }, { - 'persist' : 'hidden width', 'id' : 'email_notify', 'label' : getString('staff.ahr_email_notify_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'email_notify', 'label' : getString('staff.ahr_email_notify_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.email_notify() == 1 ? "Yes" : "No"' }, { - 'persist' : 'hidden width', 'id' : 'expire_time', 'label' : getString('staff.ahr_expire_time_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'expire_time', 'label' : getString('staff.ahr_expire_time_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.expire_time()' }, { - 'persist' : 'hidden width', 'id' : 'fulfillment_time', 'label' : getString('staff.ahr_fulfillment_time_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'fulfillment_time', 'label' : getString('staff.ahr_fulfillment_time_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.fulfillment_time()' }, { - 'persist' : 'hidden width', 'id' : 'holdable_formats', 'label' : getString('staff.ahr_holdable_formats_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'holdable_formats', 'label' : getString('staff.ahr_holdable_formats_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.holdable_formats()' }, { - 'persist' : 'hidden width', 'id' : 'id', 'label' : getString('staff.ahr_id_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : getString('staff.ahr_id_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.id()' }, { - 'persist' : 'hidden width', 'id' : 'phone_notify', 'label' : getString('staff.ahr_phone_notify_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'phone_notify', 'label' : getString('staff.ahr_phone_notify_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.phone_notify()' }, { - 'persist' : 'hidden width', 'id' : 'prev_check_time', 'label' : getString('staff.ahr_prev_check_time_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'prev_check_time', 'label' : getString('staff.ahr_prev_check_time_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.prev_check_time()' }, { - 'persist' : 'hidden width', 'id' : 'requestor', 'label' : getString('staff.ahr_requestor_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'requestor', 'label' : getString('staff.ahr_requestor_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.requestor()' }, { - 'persist' : 'hidden width', 'id' : 'selection_depth', 'label' : getString('staff.ahr_selection_depth_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'selection_depth', 'label' : getString('staff.ahr_selection_depth_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.selection_depth()' }, { - 'persist' : 'hidden width', 'id' : 'target', 'label' : getString('staff.ahr_target_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'target', 'label' : getString('staff.ahr_target_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.target()' }, { - 'persist' : 'hidden width', 'id' : 'usr', 'label' : getString('staff.ahr_usr_label'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'usr', 'label' : getString('staff.ahr_usr_label'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.usr()' }, { - 'persist' : 'hidden width', 'id' : 'title', 'label' : getString('staff.mvr_label_title'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'title', 'label' : getString('staff.mvr_label_title'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr ? my.mvr.title() : "No Title?"' }, { - 'persist' : 'hidden width', 'id' : 'author', 'label' : getString('staff.mvr_label_author'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'author', 'label' : getString('staff.mvr_label_author'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr ? my.mvr.author() : "No Author?"' }, { - 'persist' : 'hidden width', 'id' : 'edition', 'label' : 'Edition', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'edition', 'label' : 'Edition', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.edition();' }, { - 'persist' : 'hidden width', 'id' : 'isbn', 'label' : 'ISBN', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'isbn', 'label' : 'ISBN', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.isbn();' }, { - 'persist' : 'hidden width', 'id' : 'pubdate', 'label' : 'PubDate', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'pubdate', 'label' : 'PubDate', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.pubdate();' }, { - 'persist' : 'hidden width', 'id' : 'publisher', 'label' : 'Publisher', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'publisher', 'label' : 'Publisher', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.publisher();' }, { - 'persist' : 'hidden width', 'id' : 'tcn', 'label' : 'TCN', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'tcn', 'label' : 'TCN', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mvr.tcn();' }, { - 'persist' : 'hidden width', 'id' : 'transit_source', 'label' : 'Transit Source', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_source', 'label' : 'Transit Source', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.transit() ? obj.data.hash.aou[ my.ahr.transit().source() ].shortname() : ""' }, { - 'persist' : 'hidden width', 'id' : 'transit_source_send_time', 'label' : 'Transitted On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_source_send_time', 'label' : 'Transitted On', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.transit() ? my.ahr.transit().source_send_time() : ""' }, { - 'persist' : 'hidden width', 'id' : 'transit_dest_lib', 'label' : 'Transit Destination', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_dest_lib', 'label' : 'Transit Destination', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.transit() ? obj.data.hash.aou[ my.ahr.transit().dest() ].shortname() : ""' }, { - 'persist' : 'hidden width', 'id' : 'transit_dest_recv_time', 'label' : 'Transit Completed On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'transit_dest_recv_time', 'label' : 'Transit Completed On', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.ahr.transit() ? my.ahr.transit().dest_recv_time() : ""' }, ]; diff --git a/Open-ILS/xul/staff_client/server/patron/util.js b/Open-ILS/xul/staff_client/server/patron/util.js index 4f07265306..0c2f957f2f 100644 --- a/Open-ILS/xul/staff_client/server/patron/util.js +++ b/Open-ILS/xul/staff_client/server/patron/util.js @@ -17,59 +17,59 @@ patron.util.mbts_columns = function(modify,params) { var c = [ { - 'persist' : 'hidden width', 'id' : 'id', 'label' : 'Id', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : 'Id', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.mbts.id()' }, { - 'persist' : 'hidden width', 'id' : 'usr', 'label' : 'User', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'usr', 'label' : 'User', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mbts.usr() ? "Id = " + my.mbts.usr() : ""' }, { - 'persist' : 'hidden width', 'id' : 'xact_type', 'label' : 'Type', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact_type', 'label' : 'Type', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.mbts.xact_type()' }, { - 'persist' : 'hidden width', 'id' : 'balance_owed', 'label' : 'Balance Owed', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'balance_owed', 'label' : 'Balance Owed', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.money.sanitize( my.mbts.balance_owed() )' }, { - 'persist' : 'hidden width', 'id' : 'total_owed', 'label' : 'Total Billed', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'total_owed', 'label' : 'Total Billed', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.money.sanitize( my.mbts.total_owed() )' }, { - 'persist' : 'hidden width', 'id' : 'total_paid', 'label' : 'Total Paid', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'total_paid', 'label' : 'Total Paid', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.money.sanitize( my.mbts.total_paid() )' }, { - 'persist' : 'hidden width', 'id' : 'last_billing_note', 'label' : 'Last Billing Note', 'flex' : 2, + 'persist' : 'hidden width ordinal', 'id' : 'last_billing_note', 'label' : 'Last Billing Note', 'flex' : 2, 'primary' : false, 'hidden' : true, 'render' : 'my.mbts.last_billing_note()' }, { - 'persist' : 'hidden width', 'id' : 'last_billing_type', 'label' : 'Last Billing Type', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'last_billing_type', 'label' : 'Last Billing Type', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mbts.last_billing_type()' }, { - 'persist' : 'hidden width', 'id' : 'last_billing_ts', 'label' : 'Last Billed', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'last_billing_ts', 'label' : 'Last Billed', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'util.date.formatted_date( my.mbts.last_billing_ts(), "" )' }, { - 'persist' : 'hidden width', 'id' : 'last_payment_note', 'label' : 'Last Payment Note', 'flex' : 2, + 'persist' : 'hidden width ordinal', 'id' : 'last_payment_note', 'label' : 'Last Payment Note', 'flex' : 2, 'primary' : false, 'hidden' : true, 'render' : 'my.mbts.last_payment_note()' }, { - 'persist' : 'hidden width', 'id' : 'last_payment_type', 'label' : 'Last Payment Type', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'last_payment_type', 'label' : 'Last Payment Type', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mbts.last_payment_type()' }, { - 'persist' : 'hidden width', 'id' : 'last_payment_ts', 'label' : 'Last Payment', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'last_payment_ts', 'label' : 'Last Payment', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'util.date.formatted_date( my.mbts.last_payment_ts(), "" )' }, { - 'persist' : 'hidden width', 'id' : 'xact_start', 'label' : 'Created', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact_start', 'label' : 'Created', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.mbts.xact_start() ? my.mbts.xact_start().toString().substr(0,10) : ""' }, { - 'persist' : 'hidden width', 'id' : 'xact_finish', 'label' : 'Closed', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact_finish', 'label' : 'Closed', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.mbts.xact_finish() ? my.mbts.xact_finish().toString().substr(0,10) : ""' }, ]; @@ -103,39 +103,39 @@ patron.util.mb_columns = function(modify,params) { var c = [ { - 'persist' : 'hidden width', 'id' : 'id', 'label' : 'Id', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : 'Id', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mb.id()' }, { - 'persist' : 'hidden width', 'id' : 'voided', 'label' : 'Voided', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'voided', 'label' : 'Voided', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'get_bool( my.mb.voided() ) ? "Yes" : "No"' }, { - 'persist' : 'hidden width', 'id' : 'voider', 'label' : 'Voider', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'voider', 'label' : 'Voider', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mb.voider() ? "Id = " + my.mb.voider() : ""' }, { - 'persist' : 'hidden width', 'id' : 'void_time', 'label' : 'Void Time', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'void_time', 'label' : 'Void Time', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mb.void_time()' }, { - 'persist' : 'hidden width', 'id' : 'amount', 'label' : 'Amount', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'amount', 'label' : 'Amount', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.money.sanitize( my.mb.amount() )' }, { - 'persist' : 'hidden width', 'id' : 'billing_type', 'label' : 'Type', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'billing_type', 'label' : 'Type', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.mb.billing_type()' }, { - 'persist' : 'hidden width', 'id' : 'billing_ts', 'label' : 'When', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'billing_ts', 'label' : 'When', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.date.formatted_date( my.mb.billing_ts(), "" )' }, { - 'persist' : 'hidden width', 'id' : 'note', 'label' : 'Note', 'flex' : 2, + 'persist' : 'hidden width ordinal', 'id' : 'note', 'label' : 'Note', 'flex' : 2, 'primary' : false, 'hidden' : false, 'render' : 'my.mb.note()' }, { - 'persist' : 'hidden width', 'id' : 'xact', 'label' : 'Transaction ID', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact', 'label' : 'Transaction ID', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mb.xact()' }, ]; @@ -169,27 +169,27 @@ patron.util.mp_columns = function(modify,params) { var c = [ { - 'persist' : 'hidden width', 'id' : 'id', 'label' : 'ID', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : 'ID', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mp.id()' }, { - 'persist' : 'hidden width', 'id' : 'amount', 'label' : 'Amount', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'amount', 'label' : 'Amount', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.money.sanitize( my.mp.amount() )' }, { - 'persist' : 'hidden width', 'id' : 'payment_type', 'label' : 'Type', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'payment_type', 'label' : 'Type', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'my.mp.payment_type()' }, { - 'persist' : 'hidden width', 'id' : 'payment_ts', 'label' : 'When', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'payment_ts', 'label' : 'When', 'flex' : 1, 'primary' : false, 'hidden' : false, 'render' : 'util.date.formatted_date( my.mp.payment_ts(), "" )' }, { - 'persist' : 'hidden width', 'id' : 'note', 'label' : 'Note', 'flex' : 2, + 'persist' : 'hidden width ordinal', 'id' : 'note', 'label' : 'Note', 'flex' : 2, 'primary' : false, 'hidden' : false, 'render' : 'my.mp.note()' }, { - 'persist' : 'hidden width', 'id' : 'xact', 'label' : 'Transaction ID', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'xact', 'label' : 'Transaction ID', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.mp.xact()' }, ]; @@ -222,115 +222,115 @@ patron.util.columns = function(modify,params) { var c = [ { - 'persist' : 'hidden width', 'id' : 'barcode', 'label' : 'Barcode', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'barcode', 'label' : 'Barcode', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.card().barcode()' }, { - 'persist' : 'hidden width', 'id' : 'usrname', 'label' : 'Login Name', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'usrname', 'label' : 'Login Name', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.usrname()' }, { - 'persist' : 'hidden width', 'id' : 'profile', 'label' : 'Group', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'profile', 'label' : 'Group', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'obj.OpenILS.data.hash.pgt[ my.au.profile() ].name()' }, { - 'persist' : 'hidden width', 'id' : 'active', 'label' : getString('staff.au_label_active'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'active', 'label' : getString('staff.au_label_active'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.au.active() ) ? "Yes" : "No"' }, { - 'persist' : 'hidden width', 'id' : 'barred', 'label' : 'Barred', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'barred', 'label' : 'Barred', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.au.barred() ) ? "Yes" : "No"' }, { - 'persist' : 'hidden width', 'id' : 'id', 'label' : getString('staff.au_label_id'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : getString('staff.au_label_id'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.id()' }, { - 'persist' : 'hidden width', 'id' : 'prefix', 'label' : getString('staff.au_label_prefix'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'prefix', 'label' : getString('staff.au_label_prefix'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.prefix()' }, { - 'persist' : 'hidden width', 'id' : 'family_name', 'label' : getString('staff.au_label_family_name'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'family_name', 'label' : getString('staff.au_label_family_name'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.family_name()' }, { - 'persist' : 'hidden width', 'id' : 'first_given_name', 'label' : getString('staff.au_label_first_given_name'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'first_given_name', 'label' : getString('staff.au_label_first_given_name'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.first_given_name()' }, { - 'persist' : 'hidden width', 'id' : 'second_given_name', 'label' : getString('staff.au_label_second_given_name'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'second_given_name', 'label' : getString('staff.au_label_second_given_name'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.second_given_name()' }, { - 'persist' : 'hidden width', 'id' : 'suffix', 'label' : getString('staff.au_label_suffix'), 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'suffix', 'label' : getString('staff.au_label_suffix'), 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.suffix()' }, { - 'persist' : 'hidden width', 'id' : 'alert_message', 'label' : 'Alert', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'alert_message', 'label' : 'Alert', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.alert_message()' }, { - 'persist' : 'hidden width', 'id' : 'claims_returned_count', 'label' : 'Returns Claimed', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'claims_returned_count', 'label' : 'Returns Claimed', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.claims_returned_count()' }, { - 'persist' : 'hidden width', 'id' : 'create_date', 'label' : 'Created On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'create_date', 'label' : 'Created On', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.create_date()' }, { - 'persist' : 'hidden width', 'id' : 'expire_date', 'label' : 'Expires On', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'expire_date', 'label' : 'Expires On', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.expire_date().substr(0,10)' }, { - 'persist' : 'hidden width', 'id' : 'home_ou', 'label' : 'Home Lib', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'home_ou', 'label' : 'Home Lib', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'obj.OpenILS.data.hash.aou[ my.au.home_ou() ].shortname()' }, { - 'persist' : 'hidden width', 'id' : 'credit_forward_balance', 'label' : 'Credit', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'credit_forward_balance', 'label' : 'Credit', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.credit_forward_balance()' }, { - 'persist' : 'hidden width', 'id' : 'day_phone', 'label' : 'Day Phone', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'day_phone', 'label' : 'Day Phone', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.day_phone()' }, { - 'persist' : 'hidden width', 'id' : 'evening_phone', 'label' : 'Evening Phone', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'evening_phone', 'label' : 'Evening Phone', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.evening_phone()' }, { - 'persist' : 'hidden width', 'id' : 'other_phone', 'label' : 'Other Phone', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'other_phone', 'label' : 'Other Phone', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.other_phone()' }, { - 'persist' : 'hidden width', 'id' : 'email', 'label' : 'Email', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'email', 'label' : 'Email', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.email()' }, { - 'persist' : 'hidden width', 'id' : 'dob', 'label' : 'Birth Date', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'dob', 'label' : 'Birth Date', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.dob().substr(0,10)' }, { - 'persist' : 'hidden width', 'id' : 'ident_type', 'label' : 'Ident Type', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'ident_type', 'label' : 'Ident Type', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'obj.OpenILS.data.hash.cit[ my.au.ident_type() ].name()' }, { - 'persist' : 'hidden width', 'id' : 'ident_value', 'label' : 'Ident Value', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'ident_value', 'label' : 'Ident Value', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.ident_value()' }, { - 'persist' : 'hidden width', 'id' : 'ident_type2', 'label' : 'Ident Type 2', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'ident_type2', 'label' : 'Ident Type 2', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'obj.OpenILS.data.hash.cit[ my.au.ident_type2() ].name()' }, { - 'persist' : 'hidden width', 'id' : 'ident_value2', 'label' : 'Ident Value 2', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'ident_value2', 'label' : 'Ident Value 2', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.ident_value2()' }, { - 'persist' : 'hidden width', 'id' : 'net_access_level', 'label' : 'Net Access', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'net_access_level', 'label' : 'Net Access', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'my.au.net_access_level()' }, { - 'persist' : 'hidden width', 'id' : 'master_account', 'label' : 'Group Lead', 'flex' : 1, + 'persist' : 'hidden width ordinal', 'id' : 'master_account', 'label' : 'Group Lead', 'flex' : 1, 'primary' : false, 'hidden' : true, 'render' : 'get_bool( my.au.master_account() ) ? "Yes" : "No"' }, ]; -- 2.11.0