Is it possible to add some preg_replace code in the
function pagesetter_userapi_parseFilter($args)
before the line
$sql .= "$columnName LIKE '%" . pnVarPrepForStore($value) . "%'";
to enable the user to add AND and OR statements to their filters?
What I have in mind is that the user can create complex queries in a single input field for a more advanced document search. The extra code he should be able to put might look like a ".a" for AND, which then would be replaced by "%' AND $columnName LIKE '%". I have tried to build that code but have not enough skill to get it running.
Another thing I am interested in is a function to return the search string to the input field, so the user can reuse his filter and modify it without having to type it all again. Hope you can help me!