From eac34e43d368e9057278610f191c88f135cac83a Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 15 Jun 2007 10:12:38 +0000 Subject: [PATCH] Request Library columns for hold lists git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@7431 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index f8e8047e5c..d4a689fc7c 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -727,6 +727,17 @@ circ.util.hold_columns = function(modify,params) { var c = [ { + 'persist' : 'hidden width ordinal', 'id' : 'request_lib', 'label' : 'Request Lib (Full Name)', 'flex' : 1, + 'primary' : false, 'hidden' : true, + 'render' : function(my) { if (Number(my.ahr.request_lib())>=0) return data.hash.aou[ my.ahr.request_lib() ].name(); else return my.ahr.request_lib().name(); }, + }, + { + 'persist' : 'hidden width ordinal', 'id' : 'request_lib_shortname', 'label' : 'Request Lib', 'flex' : 0, + 'primary' : false, 'hidden' : true, + 'render' : function(my) { if (Number(my.ahr.request_lib())>=0) return data.hash.aou[ my.ahr.request_lib() ].shortname(); else return my.ahr.request_lib().shortname(); }, + }, + + { 'persist' : 'hidden width ordinal', 'id' : 'request_timestamp', 'label' : 'Request Timestamp', 'flex' : 0, 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.ahr.request_time().toString(); }, -- 2.11.0