Commit f7f8c605 authored by Jérome Perrin's avatar Jérome Perrin

Use Int Index as line number, not reference


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22068 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0bd0fee8
......@@ -161,7 +161,7 @@ for line in getSubLineList(context):\n
\'style_name\': \'Table_20_Contents\',\n
\'left_style_name\': \'Table_20_Contents_20_Left\',\n
\'right_style_name\': \'Table_20_Contents_20_Right\',\n
\'index\': line.getReference() or line.getIntIndex(),\n
\'index\': line.getIntIndex() or line.getReference(),\n
\'source_reference\': getSourceReference(line),\n
\'reference\': line.getResource() is not None and line.getResourceValue().getReference() or \'\',\n
\'description\': desc,\n
......
398
\ No newline at end of file
399
\ 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