 		 max_error_distance,
 		 max_error_units,
 		 concatSingleOtherId(cataloged_item.collection_object_id,'#session.CustomOtherIdentifier#') AS CustomID
-	 from 
-		loan_item, 
+	 from
+		loan_item,
 		loan,
-		specimen_part, 
+		specimen_part,
 		coll_object,
 		cataloged_item,
 		coll_object_encumbrance,

		<td align="center">
			<b>Condition</b>
		</td>
		
	</tr>
	<cfset i=1>
	<cfset p = 1>
	<cfloop query="getItems">

<cfif len(#Condition#) gt 15>
					
			

	<tr>
		<td>

		cataloged_item.collection_id = collection.collection_id and
		collecting_event.locality_id = locality.locality_id AND
		locality.geog_auth_rec_id = geog_auth_rec.geog_auth_rec_id AND
		specimen_event.specimen_event_type='accepted place of collection' and
	  loan_item.transaction_id = #transaction_id#
	  ORDER BY cat_num
</cfquery>
