Dynamic prefilters in lists

Status
Not open for further replies.

ae2c2

Alain Dejour
Hi !

Perhaps a newbie question, but I hang with it :
I want to prefilter a list with a dynamic token (comes from another form) :
index.php?option=com_fabrik&view=list&listid=20&resetfilters=1&clearfilters=0&cdc2_cert_etab___tromes=%I1604%

the column tromes contains a list of values. So I want something like "contains".
I try it with %mytoken%, but it doesn't work.

When I use manually Advanced search, and "contains" my token, it works.
Is there a way from manual to dynamic :) ?

Is it possible to manage this with list php events plugin (for instance add a "like %?%" clause to the sql request) ?

Thanks a lot in advance !

Alain
 
index.php?option=com_fabrik&view=list&listid=20&resetfilters=1&clearfilters=0&cdc2_cert_etab___tromes[value][]=I1604&cert_etab___tromes[condition]=CONTAINS

it works fine !!! :) Thank you for your time !
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top