Hi,

It seems that sorting of ordering list doesn't work. Attribute
object.items is an OrderingList:

object.items.sort(cmp=my_cmp)

The list is sorted, but the ordering column is not updated. I need to
call explicitly:

object.items._reorder()

Maybe override sort() in OrderingList to invoke self._reorder() after
sorting?


Thanks,
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to