﻿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
30120	Query syntax error with condition and distinct combination	Claude Paroz	Simon Charette	A `Count` annotation containing both a `Case` condition and a `distinct=True` param produces a query error on Django 2.2 (whatever the db backend). A space is missing at least (`... COUNT(DISTINCTCASE WHEN ...`).	Bug	closed	Database layer (models, ORM)	2.2	Release blocker	fixed			Ready for checkin	1	0	0	0	0	0
