Skip to content

Commit

Permalink
Maut 11460: Dynamic content in email builder filtered on custom objec…
Browse files Browse the repository at this point in the history
…t values (#352)

* on replacement

* fix test

* test

* test

* test

* fix

* skiped for 4.4

* WIP

* refining

* test case

* test refine

* fix test case

* fix test case

* split lines

* CR

* unnecessary query remove

* check isset

* local cache

* key with id

* test cases

* Update EventListener/TokenSubscriber.php

Co-authored-by: John Linhart <[email protected]>

* Update EventListener/TokenSubscriber.php

Co-authored-by: John Linhart <[email protected]>

* WIP

* string concat

* match logic for CO

* test case

* test case csfix

* test case csfix

* const

* var in config

* fix null case for datetime

* cs fix

* fix for select and multi select

* for noraml lead field

* test case

* split line

* test case

* fix for like and select

---------

Co-authored-by: Avikarsha Saha <[email protected]>
Co-authored-by: John Linhart <[email protected]>
  • Loading branch information
3 people authored Jul 18, 2024
1 parent 6f2784e commit 6ad2360
Show file tree
Hide file tree
Showing 4 changed files with 696 additions and 16 deletions.
11 changes: 7 additions & 4 deletions Config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,12 @@
'custom_object.query.filter.factory',
'mautic.custom.model.object',
'mautic.custom.model.item',
'mautic.custom.model.field',
'custom_object.token.parser',
'mautic.campaign.model.event',
'event_dispatcher',
'custom_object.helper.token_formatter',
'%mautic.custom_item_fetch_limit_per_lead%',
],
],
'custom_object.segments.decorator_delegate.subscriber' => [
Expand Down Expand Up @@ -1188,10 +1190,11 @@
],
],
'parameters' => [
ConfigProvider::CONFIG_PARAM_ENABLED => true,
ConfigProvider::CONFIG_PARAM_ITEM_VALUE_TO_CONTACT_RELATION_LIMIT => ConfigProvider::CONFIG_PARAM_ITEM_VALUE_TO_CONTACT_RELATION_DEFAULT_LIMIT,
'custom_item_export_dir' => '%kernel.root_dir%/../media/files/temp',
'custom_object_merge_filter' => false,
ConfigProvider::CONFIG_PARAM_ENABLED => true,
ConfigProvider::CONFIG_PARAM_ITEM_VALUE_TO_CONTACT_RELATION_LIMIT => ConfigProvider::CONFIG_PARAM_ITEM_VALUE_TO_CONTACT_RELATION_DEFAULT_LIMIT,
'custom_item_export_dir' => '%kernel.root_dir%/../media/files/temp',
'custom_object_merge_filter' => false,
'custom_item_fetch_limit_per_lead' => 15,
],
];

Expand Down
Loading

0 comments on commit 6ad2360

Please sign in to comment.