﻿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
29644	String representation of SearchQuery gives inaccurate results	Alex Krupp	Tom Forbes	"For the purpose of writing tests, I'm trying to use the string representation of SearchQuery to see what query statements my querystring parser is generating.

When I do {{{print(~SearchQuery('asdf'))}}}, instead of seeing {{{""~SearchQuery('asdf')""}}} I instead see {{{""SearchQuery('asdf')""}}}. In other words, the tilde that is used to negate the SearchQuery isn't being shown.

Similarly, if I do:

{{{query = SearchQuery('a') & ( SearchQuery('b') | SearchQuery('c') )}}}

When I do {{{print(query)}}} I just see {{{""SearchQuery('a') & SearchQuery('b') | SearchQuery('c')""}}}. The issue here is that the parentheses used to group these statements aren't shown, which again changes the meaning of this statement."	Bug	closed	contrib.postgres	2.0	Normal	fixed	SearchQuery search		Ready for checkin	1	0	0	0	0	0
