projects
/
civicrm-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b97c19
)
join_date is closer to actual start of membership
author
Andrew Engelbrecht
<andrew@fsf.org>
Wed, 14 Jun 2023 18:09:16 +0000
(14:09 -0400)
committer
Andrew Engelbrecht
<andrew@fsf.org>
Wed, 14 Jun 2023 18:09:16 +0000
(14:09 -0400)
board-forum-contacts.sql
patch
|
blob
|
blame
|
history
diff --git
a/board-forum-contacts.sql
b/board-forum-contacts.sql
index c47543de5b14092d2d39b86356a3f896edd6f81f..92636c19de7a43f69e7ded079a05f7cb4e9e5d13 100644
(file)
--- a/
board-forum-contacts.sql
+++ b/
board-forum-contacts.sql
@@
-19,7
+19,7
@@
and c.id not in (
) and (
c.id in (
select contact_id from civicrm_membership
- where status_id in (1, 2, 3, 4) and end_date >= '2018-01-19' and
start
_date <= '2022-10-19' -- was a member during time period
+ where status_id in (1, 2, 3, 4) and end_date >= '2018-01-19' and
join
_date <= '2022-10-19' -- was a member during time period
) or c.id in (
select contact_id from civicrm_contribution
where contribution_status_id = 1 and receive_date >= '2018-01-19' and receive_date <= '2022-10-19'