From: phasefx Date: Wed, 30 Mar 2011 02:24:59 +0000 (+0000) Subject: add item columns to xul-based holds lists X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2cb16637338c11d3fd60f769f5e93024c22944f6;p=Evergreen.git add item columns to xul-based holds lists Could argue this fixes a regression, since the original pull list from 1.6 showed the circ modifier, and the xul alternative does not. So begging forgiveness :) Signed-off-by: Jason Etheridge git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19914 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index 8846577d09..3596a40d3a 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -66,7 +66,13 @@ patron.holds.prototype = { JSAN.use('util.list'); obj.list = new util.list( obj.tree_id || 'holds_list'); obj.list.init( { - 'columns' : columns, + 'columns' : columns.concat( + obj.list.fm_columns('acp', { + '*' : { 'expanded_label' : true, 'hidden' : true }, + // example of unhiding some columns by default + // 'acp_circ_modifier' : { 'hidden' : false } + }) + ), 'map_row_to_columns' : circ.util.std_map_row_to_columns(), 'retrieve_row' : function(params) { var row = params.row;