From 7de5f4308eefe259ad3036f2ef40c7f90085e03a Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 25 Sep 2024 15:23:42 -0500 Subject: [PATCH] Correct supporters reference --- app/legacy_lib/nonprofit_query_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/legacy_lib/nonprofit_query_generator.rb b/app/legacy_lib/nonprofit_query_generator.rb index 01ccdf971..a01542b17 100644 --- a/app/legacy_lib/nonprofit_query_generator.rb +++ b/app/legacy_lib/nonprofit_query_generator.rb @@ -24,6 +24,6 @@ def tag_masters def tag_joins_through_supporters Qx.select("tag_joins.id, tag_joins.supporter_id, tag_joins.tag_master_id") .from(:tag_joins) - .join(:supporters, "tags_to_supporters.id = tag_joins.supporter_id") + .join(:supporters, "supporters.id = tag_joins.supporter_id") end end \ No newline at end of file