﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19848	ANDed Q filters spanning generic relations evaluate unexpectedly to empty querie sets	gotoalanlu@…	nobody	See this [http://stackoverflow.com/questions/2724206/how-to-filter-many2many-generic-relations-properly-with-q StackOverflow question] for some context. There is a [http://stackoverflow.com/a/2796479/1796894 answer] for a workaround, but this feels a lot less natural than fixing the SQL—in order to do more complex filter queries involving OR and NOT, one would have to programmatically use [http://en.wikipedia.org/wiki/De_Morgan%27s_laws De Morgan's laws] to deconstruct the query into ANDed ANDless subqueries, IIRC.	Bug	closed	contrib.contenttypes	dev	Normal	invalid	generic genericrelations filter q and		Unreviewed	0	0	0	0	0	0
