﻿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
10352	Query.as_sql() breaks annotations	Glenn Maynard	nobody	"Calling as_sql() on a query with annotations breaks the query later.  This is particularly annoying because it's a delayed effect.  Repro attached.

ProgrammingError: missing FROM-clause entry for table ""U0""
LINE 1: ...em"".""creator_id"", ""queries_item"".""note_id"", COUNT(""U0"".""id"")...
"		closed	Database layer (models, ORM)	1.0		invalid			Accepted	0	0	0	0	0	0
