Sounds like your re-sort either happens in a new Session for some
reason, and/or the sorting or rendering the display causes access to
some relation which is set to lazy load upon access.
If it's a lazyloading issue, you could try e.g.: Job.query.options
(eagerload('some_relation.whatever')).all()
I don't know anything about how wx apps work so I'm just guessing at a
direction for you to look. HTH.
--i
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---