Fixing incorrect ordering of converted threads.
This commit is contained in:
parent
7a3da18fe0
commit
ca69dfb2d5
|
@ -46,7 +46,7 @@ class Blog_converter( object ):
|
||||||
return blog_notebooks[ 0 ]
|
return blog_notebooks[ 0 ]
|
||||||
|
|
||||||
def convert_posts_to_forum_threads( self ):
|
def convert_posts_to_forum_threads( self ):
|
||||||
notes = self.database.select_many( Note, self.blog_notebook.sql_load_recent_notes( start = 0, count = 1000 ) )
|
notes = self.database.select_many( Note, self.blog_notebook.sql_load_recent_notes( reverse = True, start = 0, count = 1000 ) )
|
||||||
|
|
||||||
for note in notes:
|
for note in notes:
|
||||||
self.convert_post( note )
|
self.convert_post( note )
|
||||||
|
|
Reference in New Issue