Am 19.05.2010 15:55 schrieb jose soares:
DataGrid.Column(name='specie.specie_descrizione',
options=dict(sortable=True)),
Hi Jose,
the problem is here that paginate recoginzes specie.specie_descrizione
as a database column, so tries to add it in an order by clause, but it
does not add the necessary joi with the specie table. As a workaround,
you can add the join manually to your query. I'll see if I can improve
paginate tomorrow so that it either adds joins automagically or if that
does not work, sorts in memory.
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en.