11-16-2013, 06:59 AM
Can not filter by user defined field. The reason is that somewhere '_only" is added to the category item value. I didn't study the issue in depth and fixed it by adding
$lwhere = str_replace("_only","",$lwhere);
to the beginning of line 177 of search.php.
INITIAL LINE 177:
list($lquery_pre,$lquery) = udf_functions_search($lwhere,$lquery_pre,$lquery,$lequate,$lkeyword);
PATCHED LINE 177:
$lwhere = str_replace("_only","",$lwhere); list($lquery_pre,$lquery) = udf_functions_search($lwhere,$lquery_pre,$lquery,$lequate,$lkeyword);
$lwhere = str_replace("_only","",$lwhere);
to the beginning of line 177 of search.php.
INITIAL LINE 177:
list($lquery_pre,$lquery) = udf_functions_search($lwhere,$lquery_pre,$lquery,$lequate,$lkeyword);
PATCHED LINE 177:
$lwhere = str_replace("_only","",$lwhere); list($lquery_pre,$lquery) = udf_functions_search($lwhere,$lquery_pre,$lquery,$lequate,$lkeyword);