toastdriven/django-haystack — pull request #617 by mjl (2012-07-24 15:29:17+00:00)
Title: Fix for issue 613 including test cases; combining complex queries was totally broken

Combining non-trivial queries, for example

|

would give

which clearly is wrong. This commit fixes that and adds test cases for the problem.