From 565801b280bc14a8c4f1331908fd31c0713ef733 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Fri, 23 Jul 2010 01:59:23 +0000 Subject: [PATCH] Template view: add revision as a sort key, and make it a secondary sort key. It's useful to find the latest version of a BT when you have several cloned versions of the same BT. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37249 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../listbox.xml | 14 ++++++++++++++ product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewBusinessTemplateList/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewBusinessTemplateList/listbox.xml index bb6a8f131a..08e419b59c 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewBusinessTemplateList/listbox.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_viewBusinessTemplateList/listbox.xml @@ -389,6 +389,12 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>display_style_list</string> </key> + <value> + <list/> + </value> + </item> <item> <key> <string>domain_root_list</string> </key> <value> @@ -550,6 +556,10 @@ <string>title</string> <string>ascending</string> </tuple> + <tuple> + <string>revision</string> + <string>ascending</string> + </tuple> </list> </value> </item> @@ -573,6 +583,10 @@ <string>description</string> <string>Description</string> </tuple> + <tuple> + <string>revision</string> + <string>Revision</string> + </tuple> </list> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 184de29ade..65c6790520 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -1635 +1636 \ No newline at end of file -- 2.30.9