Eureka!

> Unfortunately, I can't test this at the moment but is filtering an
> SQLRelatedJoin now working? Previously there was a problem having
> something to do with the fact that an SQLRelatedJoin was creating a
> text query that was interfering with filtering the result.  Is this
> fixed?

No it didn't work, so I make another method to do the SQLRelatedJoin,
using SQLBuilder, now I kill 2 habbits with one hit, you can use
filter and you can orderBy too. Thanks to Max to point me in the right
way, I never used SQLBuilder so I do the SQLRelatedJoin that way.

I will do more tests but at the case of this thread it word, I will do
a diff soon...
Anyway, you can test it too, I will attach the joins.py file, the file
is from SQLObject0.8.
You must use NewRelatedJoin (this is a temporary name, I will replace
SQLRelatedJoin after I know it is ok).

Sorry about the time taken to do this solution :)
Regards,

--
Michel Thadeu Sabchuk
Curitiba - Brasil

Attachment: joins.py
Description: application/python

Attachment: teste.py
Description: application/python

Reply via email to