witten
/
luminotes
Archived
1
0
Fork 0

Fixed another limit/offset ordering problem to make SQLite happy.

This commit is contained in:
Dan Helfman 2008-08-19 14:45:13 -07:00
parent 95577bff55
commit 85443e3849
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ class Notebook( Persistent ):
notebook_id = %s and note_current.id = note_creation.id
order by
creation desc
offset %d limit %d;
""" % ( quote( self.object_id ), quote( self.object_id ), start, count )
limit %d offset %d;
""" % ( quote( self.object_id ), quote( self.object_id ), count, start )
def sql_load_note_by_id( self, note_id ):
"""