|
|
|
|
897
|
content.revisions.append(cpy_rev)
|
897
|
content.revisions.append(cpy_rev)
|
898
|
DBSession.add(content)
|
898
|
DBSession.add(content)
|
899
|
|
899
|
|
|
|
900
|
+ # TODO - G.M - 15-03-2018 - Child copy broken !
|
900
|
# INFO - G.M - 15-03-2018 - copy childrens (comments and others things)
|
901
|
# INFO - G.M - 15-03-2018 - copy childrens (comments and others things)
|
901
|
- for child in item.children:
|
|
|
902
|
- self.copy(child, content)
|
|
|
|
|
902
|
+ # for child in item.children:
|
|
|
903
|
+ # self.copy(child, content)
|
903
|
|
904
|
|
904
|
# INFO - GM - 15-03-2018 - add "copy" revision
|
905
|
# INFO - GM - 15-03-2018 - add "copy" revision
|
905
|
content.new_revision()
|
906
|
content.new_revision()
|