Commit acc6c296 authored by Fabien Morin's avatar Fabien Morin

sort base_category to always have the same displaying (always same category as...

sort base_category to always have the same displaying (always same category as X axe and same category as Y axe)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27965 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 25eb9448
No related merge requests found
...@@ -86,6 +86,7 @@ cell_range = []\n ...@@ -86,6 +86,7 @@ cell_range = []\n
if matrixbox :\n if matrixbox :\n
if resource is not None:\n if resource is not None:\n
base_category_list = resource.getVariationBaseCategoryList()\n base_category_list = resource.getVariationBaseCategoryList()\n
base_category_list.sort()\n
for base_category in base_category_list:\n for base_category in base_category_list:\n
category_cell_range = []\n category_cell_range = []\n
category_item_list = context.getVariationCategoryItemList(base_category_list = (base_category,),\n category_item_list = context.getVariationCategoryItemList(base_category_list = (base_category,),\n
......
489 490
\ 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