Commit e3508225 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix the comparison method. With the previous one, a mirror mapping was always...

Fix the comparison method. With the previous one, a mirror mapping was always applied, which is simply useless.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37393 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b5c7ce5c
...@@ -71,4 +71,4 @@ def _isMirrored(document): ...@@ -71,4 +71,4 @@ def _isMirrored(document):
# reverse or not by just comparing its source_section's id and # reverse or not by just comparing its source_section's id and
# destination_section's id, whose result should be consistent for each # destination_section's id, whose result should be consistent for each
# document. # document.
return document.getDestinationSectionId() <> document.getSourceSectionId() return document.getDestinationSectionId() > document.getSourceSectionId()
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