diff --git a/product/ERP5/skins/erp5_html_style/form_list_ui.pt b/product/ERP5/skins/erp5_html_style/form_list_ui.pt index ba6243bcc1b5c94ee9aaf6fa57d8f23460562abc..f7c5cd38e41c6605012caa2cfee552020a46cee9 100755 --- a/product/ERP5/skins/erp5_html_style/form_list_ui.pt +++ b/product/ERP5/skins/erp5_html_style/form_list_ui.pt @@ -40,18 +40,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <span tal:define="field_errors python: request.get('field_errors',{}); - columns python:here.portal_selections.getSelectionColumns(selection_name, REQUEST=request); + form_id request/form_id; + base_form python:getattr(here,form_id); + groups base_form/get_groups; + default_columns python:base_form.get_fields_in_group(groups[0])[0].get_value('columns'); + columns python:here.portal_selections.getSelectionColumns(selection_name, REQUEST=request, columns=default_columns); selected_stats python:here.portal_selections.getSelectionStats(selection_name, REQUEST=request); dummy python: request.set('here',here); global row_index python:0; global row_keys python:['None']; - form_id request/form_id; - base_form python:getattr(here,form_id); - groups base_form/get_groups; global stats python: [' ','count','sum','max','min','avg']; all_columns python:base_form.get_fields_in_group(groups[0])[0].get_value('all_columns')"> - <table class="Border" width="100%"> <tr><td valign="top"> <table>