arnor@icetips.com
Member
Hi all,
Some time ago I got information on how to use the OnBuildQueryWhere PHP Event to build a dynamic filter. I was able to get it to work, but had to leave it for another more urgent project. Just getting back to it and now I can't figure out how I did it<g>
Using $model->setQueryWhere['MyUniqueIdenitifer'] = "query";
with all sorts of permuations of colum name and table name + column name as well as just putting:
$model->setQueryWhere['MyUniqueIdenitifer'] = "1=2";
and there is never any filtering applied to the list.
Can someone please rattle my brain so I remember how this needs to be done?
Best regards,
Arnor
Some time ago I got information on how to use the OnBuildQueryWhere PHP Event to build a dynamic filter. I was able to get it to work, but had to leave it for another more urgent project. Just getting back to it and now I can't figure out how I did it<g>
Using $model->setQueryWhere['MyUniqueIdenitifer'] = "query";
with all sorts of permuations of colum name and table name + column name as well as just putting:
$model->setQueryWhere['MyUniqueIdenitifer'] = "1=2";
and there is never any filtering applied to the list.
Can someone please rattle my brain so I remember how this needs to be done?
Best regards,
Arnor