From: Max Semenik Date: Fri, 30 Oct 2009 20:54:17 +0000 (+0000) Subject: Match lowercase titles in SearchSqlite X-Git-Tag: 1.31.0-rc.0~39019 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=2cb932d3c08f7d5ee63cf3eb8b521fe9615b2702;p=lhc%2Fweb%2Fwiklou.git Match lowercase titles in SearchSqlite --- diff --git a/includes/search/SearchSqlite.php b/includes/search/SearchSqlite.php index 31981dc21d..0f11d442f7 100644 --- a/includes/search/SearchSqlite.php +++ b/includes/search/SearchSqlite.php @@ -179,13 +179,13 @@ class SearchSqlite extends SearchEngine { } protected function searchInternal( $term, $fulltext ) { - global $wgSearchMySQLTotalHits; + global $wgSearchMySQLTotalHits, $wgContLang; if ( !$this->fulltextSearchSupported() ) { return null; } - $filteredTerm = $this->filter( $term ); + $filteredTerm = $this->filter( $wgContLang->lc( $term ) ); $resultSet = $this->db->query( $this->getQuery( $filteredTerm, $fulltext ) ); $total = null;