From e4a77cfd8dd1135e1043a204e3ce1b5aec36a5c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 24 Feb 2011 10:31:13 +0000 Subject: [PATCH] sort budget lines by int index git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43657 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_budget/Budget_view/listbox.xml | 18 +++++++++++++++--- bt5/erp5_budget/bt/revision | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_view/listbox.xml b/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_view/listbox.xml index d1e02d2da8..f6ca789ae1 100644 --- a/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_view/listbox.xml +++ b/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_view/listbox.xml @@ -10,11 +10,12 @@ <key> <string>delegated_list</string> </key> <value> <list> - <string>title</string> - <string>description</string> <string>columns</string> - <string>selection_name</string> + <string>description</string> <string>portal_types</string> + <string>selection_name</string> + <string>sort</string> + <string>title</string> </list> </value> </item> @@ -127,6 +128,17 @@ <key> <string>selection_name</string> </key> <value> <string>budget_line_list_selection</string> </value> </item> + <item> + <key> <string>sort</string> </key> + <value> + <list> + <tuple> + <string>int_index</string> + <string>ASC</string> + </tuple> + </list> + </value> + </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> diff --git a/bt5/erp5_budget/bt/revision b/bt5/erp5_budget/bt/revision index 235adf8bd8..b2786cdcdc 100644 --- a/bt5/erp5_budget/bt/revision +++ b/bt5/erp5_budget/bt/revision @@ -1 +1 @@ -349 \ No newline at end of file +351 \ No newline at end of file -- 2.30.9