mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 16:18:05 +02:00
Manually fix SearchKit searches broken by SK bug issue 5817
This commit is contained in:
parent
486b914425
commit
5e77bf3938
2 changed files with 5 additions and 19 deletions
|
@ -30,19 +30,13 @@ return [
|
||||||
[
|
[
|
||||||
'Contribution AS Contact_Contribution_contact_id_01',
|
'Contribution AS Contact_Contribution_contact_id_01',
|
||||||
'INNER',
|
'INNER',
|
||||||
[
|
['id', '=', 'Contact_Contribution_contact_id_01.contact_id',
|
||||||
'id',
|
|
||||||
'=',
|
|
||||||
'Contact_Contribution_contact_id_01.contact_id',
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'having' => [
|
'having' => [
|
||||||
[
|
['MAX_Contact_Contribution_contact_id_01_receive_date', '<=', 'now - 36 month'],
|
||||||
'MAX_Contact_Contribution_contact_id_01_receive_date',
|
['MAX_Contact_Contribution_contact_id_01_total_amount', '>=', '500'],
|
||||||
'<=',
|
|
||||||
'now - 36 month',
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'description' => E::ts('Expired major donor. Last donation 36+ months before today
|
'description' => E::ts('Expired major donor. Last donation 36+ months before today
|
||||||
|
|
|
@ -35,16 +35,8 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'having' => [
|
'having' => [
|
||||||
[
|
['MAX_Contact_Contribution_contact_id_01_total_amount', '>=', '500'],
|
||||||
'MAX_Contact_Contribution_contact_id_01_total_amount',
|
['MAX_Contact_Contribution_contact_id_01_receive_date', 'BETWEEN', ['now - 36 month', 'now - 12 month']],
|
||||||
'=',
|
|
||||||
'',
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'MAX_Contact_Contribution_contact_id_01_receive_date',
|
|
||||||
'BETWEEN',
|
|
||||||
['now - 36 month', 'now - 12 month'],
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'description' => E::ts('Major donor: critical
|
'description' => E::ts('Major donor: critical
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue