﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
2624	Remove leading and trailing spaces from cooperator fields	Stacey	Benjamin Haag	"Automatically remove leading and trailing spaces entered by a user in cooperator record text fields. Also 'clean up' existing records by using TRIM to remove currently hidden leading and trailing spaces.

Specifically focus on fields commonly used as search criteria (Last Name, First Name, Organization, Address line 1, etc.)

Searching for names and finding related cooperator records when processing web orders in the OW challenging since these are all different: 

"" Smith""
""Smith ""
""Smith""

The OW web order processing of the coop record in the coop wizard is initially based on the default search criteria checkboxes (Last Name, Geography) and cannot find a CT coop record of ""Smith"" since the PW requestor entered their name as ""Smith "".  When a web cooperator has leading or trailing spaces on every single field and the CT record does not, there is no text-based 'matching field' to sort on.

As part of the super coop group, I have used TRIM on GG coop record fields to 'clean up' as many existing records as possible but some records still remain.

These 4 CT coop records need the last name TRIMmed to remove spaces:
( @cooperator.last_name LIKE '% ' OR @cooperator.last_name LIKE ' %' )

184942
184985
185248
185313

15 cooperator.first_name
12 cooperator.organization
477 web_cooperator.first_name 
335 web_cooperator.last_name 
829 web_cooperator.organization"	defect	new	medium		Database, Data Updates	N/A					N/A	N/A
