Commit 34e945fb authored by Fabien Morin's avatar Fabien Morin

sort result like in matrixbox=1 case to have the same behaviour in both cases.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28012 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 43a71a2d
...@@ -111,6 +111,7 @@ if matrixbox :\n ...@@ -111,6 +111,7 @@ if matrixbox :\n
else:\n else:\n
list_of_category_list = []\n list_of_category_list = []\n
variation_base_category_list = context.getVariationBaseCategoryList()\n variation_base_category_list = context.getVariationBaseCategoryList()\n
variation_base_category_list.sort()\n
for base_category in variation_base_category_list:\n for base_category in variation_base_category_list:\n
list_of_category_list.append(\\\n list_of_category_list.append(\\\n
context.getVariationCategoryList(base_category_list=base_category))\n context.getVariationCategoryList(base_category_list=base_category))\n
......
492 493
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment