isso-comments / isso

a Disqus alternative
https://isso-comments.de
MIT License
5.03k stars 440 forks source link

No nesting at all #209

Closed pozitron57 closed 8 years ago

pozitron57 commented 8 years ago

Hi,

is it possible to disable nesting?

pozitron57 commented 8 years ago

Well, it was quite easy: I just set

c["parent"] = None

before self.db.execute([ .... in isso/db/comments.py and now there is no nesting.

Also I set parent=null for existing comments like this:

sqlite> attach 'comments.db' as isso;
sqlite> UPDATE isso.comments SET parent=null;

so nesting is disabled for old comments as well.