 					<cfqueryparam value = "#collection_object_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
 				)
 			</cfif>
+			<cfif isdefined("publication_id") and len(publication_id) gt 0>
+				publication_id in (
+					<cfqueryparam value = "#publication_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
+				)
+			</cfif>
+			<cfif isdefined("project_id") and len(project_id) gt 0>
+				project_id in (
+					<cfqueryparam value = "#project_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
+				)
+			</cfif>
+			<cfif isdefined("taxon_name_id") and len(taxon_name_id) gt 0>
+				taxon_name_id in (
+					<cfqueryparam value = "#taxon_name_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
+				)
+			</cfif>
 			<cfif isdefined("annotation_id") and len(annotation_id) gt 0>
 				annotation_id = (
 					<cfqueryparam value = "#annotation_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">

<cfinclude template="/includes/_header.cfm">
<cfset title="Review Annotations">




<cfif isdefined("id") and len(id) gt 0>

yes got ID....


	<!--- legacy format, redirect to modern ---->
	<cfif isdefined("type") and type is "taxon">
		<cflocation url="reviewAnnotation.cfm?taxon_name_id=#id#" addtoken="false">

				function (r) {
					if (r.DATA.STATUS=='success'){
						$("#reviewer_comment_" + r.DATA.ANNOTATION_ID).removeClass('badPick').addClass('goodPick');
					} else {
						$("#reviewer_comment_" + r.DATA.ANNOTATION_ID).removeClass('goodPick').addClass('badPick');
						alert(r.DATA.MESSAGE);
					}
				}
			);
