From 1812ce3d75857e389a0b6d61a3d8d536782eaba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 13 Mar 2013 10:00:14 +0100 Subject: [PATCH] alarm_tool: use portal_catalog as list method so that we can search --- .../AlarmTool_viewAlarmList/listbox.xml | 85 +++---------------- product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 2 files changed, 13 insertions(+), 74 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/AlarmTool_viewAlarmList/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/AlarmTool_viewAlarmList/listbox.xml index 8f2dd64da6..af4aded08f 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/AlarmTool_viewAlarmList/listbox.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/AlarmTool_viewAlarmList/listbox.xml @@ -12,14 +12,9 @@ <list> <string>all_columns</string> <string>columns</string> - <string>count_method</string> <string>editable_columns</string> - <string>list_method</string> <string>portal_types</string> - <string>search_columns</string> <string>selection_name</string> - <string>sort</string> - <string>sort_columns</string> <string>title</string> </list> </value> @@ -153,6 +148,18 @@ <string>solve_method_id</string> <string>Solve Method</string> </tuple> + <tuple> + <string>creation_date</string> + <string>Creation Date</string> + </tuple> + <tuple> + <string>modification_date</string> + <string>Modification Date</string> + </tuple> + <tuple> + <string>owner_title</string> + <string>Owner</string> + </tuple> </list> </value> </item> @@ -189,10 +196,6 @@ </list> </value> </item> - <item> - <key> <string>count_method</string> </key> - <value> <string></string> </value> - </item> <item> <key> <string>editable_columns</string> </key> <value> @@ -212,12 +215,6 @@ <key> <string>form_id</string> </key> <value> <string>Base_viewFieldLibrary</string> </value> </item> - <item> - <key> <string>list_method</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> <item> <key> <string>portal_types</string> </key> <value> @@ -229,55 +226,10 @@ </list> </value> </item> - <item> - <key> <string>search_columns</string> </key> - <value> - <list> - <tuple> - <string>id</string> - <string>ID</string> - </tuple> - <tuple> - <string>title</string> - <string>Title</string> - </tuple> - </list> - </value> - </item> <item> <key> <string>selection_name</string> </key> <value> <string>alarm_tool_selection</string> </value> </item> - <item> - <key> <string>sort</string> </key> - <value> - <list> - <tuple> - <string>enabled</string> - <string>descending</string> - </tuple> - <tuple> - <string>id</string> - <string>ascending</string> - </tuple> - </list> - </value> - </item> - <item> - <key> <string>sort_columns</string> </key> - <value> - <list> - <tuple> - <string>id</string> - <string>ID</string> - </tuple> - <tuple> - <string>title</string> - <string>Title</string> - </tuple> - </list> - </value> - </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> @@ -292,17 +244,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Method" module="Products.Formulator.MethodField"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>method_name</string> </key> - <value> <string>objectValues</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index e6e4587f4d..0444a4ea14 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -41072 +41073 \ No newline at end of file -- 2.30.9