mautic-enhancer icon indicating copy to clipboard operation
mautic-enhancer copied to clipboard

Age from birthdate - source field name

Open pety-dc opened this issue 6 years ago • 1 comments

I installed the plugin, but I couldn't make 'Age from birthdate' function to work. I couldn't find documentation about this issue, so I digged into the code and found out that the enhancement works only from hardcoded source fields, namely 'dob_year', 'dob_month', 'dob_day'. Newer version works with field named 'dob' too.

I however already have a field named 'birthday' to store birthdays. Now I'm stuck. In order to use this function I would have to change my mautic application to use the field 'dob', instead of my previously existent 'birthday' and migrate data from one field to another.

It would be nice to set the source field name in the plugin configuration just like the field name for random number is needed to set.

thanks

pety-dc avatar Oct 26 '18 13:10 pety-dc

As a work around you could go into your phpmyadmin or database to change birthday to dob.

WWMJames avatar Jul 13 '19 06:07 WWMJames