Author: mevdschee
Description:
The search doesn't return results when there is more than one match. I changed
the code in line 329-330 of includes/SearchEngine.php from:
$cond .= " (MATCH (field) AGAINST ('" .wfStrencode( $word ). "'))";
to:
$cond .= " (field REGEXP '[[:<:]]".wfStrencode( $word )."[[:>:]]')";
Now it works as expected. Just wanted to share this.
Context: Redhat 9 default installation with apache and mysql.
Version: 1.3.x
Severity: major
OS: Linux
Platform: PC
URL: http://www.io.tudelft.nl/id/mediawiki