Fixed another limit/offset ordering problem to make SQLite happy.
This commit is contained in:
parent
95577bff55
commit
85443e3849
|
@ -145,8 +145,8 @@ class Notebook( Persistent ):
|
||||||
notebook_id = %s and note_current.id = note_creation.id
|
notebook_id = %s and note_current.id = note_creation.id
|
||||||
order by
|
order by
|
||||||
creation desc
|
creation desc
|
||||||
offset %d limit %d;
|
limit %d offset %d;
|
||||||
""" % ( quote( self.object_id ), quote( self.object_id ), start, count )
|
""" % ( quote( self.object_id ), quote( self.object_id ), count, start )
|
||||||
|
|
||||||
def sql_load_note_by_id( self, note_id ):
|
def sql_load_note_by_id( self, note_id ):
|
||||||
"""
|
"""
|
||||||
|
|
Reference in New Issue