[open-ils-commits] r19914 - branches/rel_2_0/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 29 22:25:01 EDT 2011
Author: phasefx
Date: 2011-03-29 22:24:59 -0400 (Tue, 29 Mar 2011)
New Revision: 19914
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
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 <jason at esilibrary.com>
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js 2011-03-30 02:22:33 UTC (rev 19913)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js 2011-03-30 02:24:59 UTC (rev 19914)
@@ -66,7 +66,13 @@
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;
More information about the open-ils-commits
mailing list