So what should I do to make this work?
In _cm_pre_getData the tw date fields aren't in $fieldarray, therefore this code is never executed:
if (!empty($fieldarray['date_from']) OR !empty($fieldarray['date_to'])) {
$fieldarray['fecnac'] = rangeFromTo($fieldarray['date_from'], $fieldarray['date_to'], true);
unset($fieldarray['date_from']);
unset($fieldarray['date_to']);
} // if
I can see the search fields, but it doesn't filter correctly, are there any working example?
[Updated on: Fri, 14 November 2008 11:17]
Report message to a moderator