Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User defined fields are not searchable
#1
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);
#2
This issue has already been fixed:

<!-- m --><a class="postlink" href="https://github.com/opendocman/opendocman/issues/67">https://github.com/opendocman/opendocman/issues/67</a><!-- m -->


Forum Jump:


Users browsing this thread: 1 Guest(s)