What is the SQL statement being executed (have a look in the FAQ if you
don't know how to view the SQL statement).
There are some bugs in 'or' combinations. I don't know if you're hitting
one of those or not.
Regards,
Malcolm
--
Tolkien is hobbit-forming.
http://www.pointy-stick.com/blog/
Since the link from Project to Participants (in that direction) can be
empty, the join there should really be a LEFT OUTER join. This is one of
those bugs that occurs with "or" joins sometimes and is one of the
reason they've been heavily rewritten on the queryset-refactor branch.
Basically, if one of the querysets could be empty when there are results
in the other queryset, you sometimes see problems. This is one of those
cases.
All I can suggest is waiting a little while until queryset-refacotor is
merged into trunk (if you're really brave, you could try running against
the branch, but I haven't really declared it ready for testing yet). In
the meantime, pull the two querysets back into Python and merge the
lists there. Unless you're pulling back hundreds of thousands of
results, you won't notice any real speed difference.
Regards,
Malcolm
--
Depression is merely anger without enthusiasm.
http://www.pointy-stick.com/blog/
Hopefully pretty soon. We're in the home stretch now and soon I'll be
asking for volunteers to test it.
Regards,
Malcolm
--
Why can't you be a non-conformist like everyone else?
http://www.pointy-stick.com/blog/
Since the majority of OR lookups work, this isn't worth doing. It's a
better use of our time to fix the problems.
Regards,
Malcolm
--
Honk if you love peace and quiet.
http://www.pointy-stick.com/blog/