[sword-svn] r268 - trunk/webapp
scribe at www.crosswire.org
scribe at www.crosswire.org
Sat Dec 16 19:55:17 MST 2006
Author: scribe
Date: 2006-12-16 19:55:16 -0700 (Sat, 16 Dec 2006)
New Revision: 268
Modified:
trunk/webapp/wordsearchresults.jsp
Log:
Fixed case sensitive searching
Modified: trunk/webapp/wordsearchresults.jsp
===================================================================
--- trunk/webapp/wordsearchresults.jsp 2006-11-20 20:59:39 UTC (rev 267)
+++ trunk/webapp/wordsearchresults.jsp 2006-12-17 02:55:16 UTC (rev 268)
@@ -41,10 +41,10 @@
stype = SearchType.REGEX;
}
- int soptions = 2; // default to ignore case
+ int soptions = 0; // default to NOT ignore case
tmp = request.getParameter("icase");
- if ((tmp != null) && (!tmp.equals("1")))
- soptions = 0;
+ if ((tmp != null) && (tmp.equals("1")))
+ soptions = 2;
%>
<tiles:insert beanName="basic" flush="true" >
<tiles:put name="title" type="string">
More information about the sword-cvs
mailing list