From 221ddd411bbdc36be6afd27085a777a780c8b98a Mon Sep 17 00:00:00 2001 From: dtookey Date: Wed, 20 Apr 2022 12:10:51 -0400 Subject: [PATCH] Fixed a typo in a query for contributions.sql --- src/sql/0-run-first/contributions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/0-run-first/contributions.sql b/src/sql/0-run-first/contributions.sql index ef7c9c4..752ddd2 100644 --- a/src/sql/0-run-first/contributions.sql +++ b/src/sql/0-run-first/contributions.sql @@ -58,7 +58,7 @@ FROM users INNER JOIN contacts on ap.contact_fkey = contacts.pkey INNER JOIN clients on contacts.cl_fkey = clients.pkey WHERE project_lifecycle.new_value IN ('+READY_FOR_REVIEW') - AND SUBSTR(ap.proj_type, 1, 3) = 'RDU' + AND SUBSTR(ap.refnum, 1, 3) = 'RDU' AND ap.proj_type = 'Soil';