Commit 7a9b715c authored by Yusuke Muraoka's avatar Yusuke Muraoka

revert previous commit. it was a mistake.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33712 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2a7c1df
...@@ -63,9 +63,11 @@ if resource is not None:\n ...@@ -63,9 +63,11 @@ if resource is not None:\n
for base_category in base_category_list:\n for base_category in base_category_list:\n
if matrixbox == 1:\n if matrixbox == 1:\n
# XXX matrixbox is right_display (not as listfield) => invert display and value in item\n # XXX matrixbox is right_display (not as listfield) => invert display and value in item\n
cell_range.extend( map(lambda x: (x[1],x[0]), context.getVariationCategoryItemList(base_category_list = (base_category,) ) ) )\n cell_range.append( map(lambda x: (x[1],x[0]), context.getVariationCategoryItemList(base_category_list = (base_category,) ) ) )\n
else:\n else:\n
cell_range.extend( context.getVariationCategoryList(base_category_list = (base_category,) ) )\n cell_range.append( context.getVariationCategoryList(base_category_list = (base_category,) ) )\n
\n
cell_range = filter(lambda x: x != [], cell_range )\n
\n \n
return cell_range\n return cell_range\n
...@@ -118,6 +120,7 @@ return cell_range\n ...@@ -118,6 +120,7 @@ return cell_range\n
<string>_getiter_</string> <string>_getiter_</string>
<string>base_category</string> <string>base_category</string>
<string>map</string> <string>map</string>
<string>filter</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
865 866
\ 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