﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
2672	Search Tool multi entry string breaks on space character	Stacey	Pete Cyr	"SEARCH TOOL:  When first entering a search string that contains a space value, IE ""Non NPGS"", then entering a second search term, IE ""PI"", the search tool incorrectly inserts the second term after the space inside the original search term resulting in incorrect SQL statement syntax.  

From my observations, this broken output SQL happens in string fields


1st search term entry: 'Non NPGS'
@accession.accession_number_part1 = 'non NPGS'

2nd search term: 'PI'

Output SQL built by search tool:
( @accession.accession_number_part1 = **'non**// OR @accession.accession_number_part1 = 'pi' )// **npgs'**

Correct SQL search:
@accession.accession_number_part1 = **'non NPGS'** //OR @accession.accession_number_part1 = 'pi' )//"	defect	new	medium		Search Tool	N/A					N/A	N/A
