Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.0 B5
-
None
-
Windows XP SP2, Tomcat, XWiki 1b5, PostgreSQL
-
patch
-
Description
XWiki does case sensitive search, e.g. if I search for "available", available will be found, but not "Available." It seems that this does not happen with buil-in storage, just with database.
Solution: change search page Main.WebSearch so it ignore case:
from:
-
- -----------------------------------------------------------
- Search in page content
- -----------------------------------------------------------
#set ($sql = "where $webClause doc.content like '%$!text%' order by doc.date desc")
to:
-
- -----------------------------------------------------------
- Search in page content
- -----------------------------------------------------------
#set ($sql = "where $webClause upper(doc.content) like upper('%$!text%') order by doc.date desc")
Attachments
Issue Links
- relates to
-
XWIKI-11412 Make XWiki case insensitive
-
- Open
-