Author: trong.tran
Date: 2010-06-17 08:03:17 -0400 (Thu, 17 Jun 2010)
New Revision: 3363
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMSession.java
Log:
GTNPORTAL-1289 It is not necessary to use CONTAINS in this case which may cause an
exception with special characters
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMSession.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMSession.java 2010-06-17
10:57:46 UTC (rev 3362)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMSession.java 2010-06-17
12:03:17 UTC (rev 3363)
@@ -314,8 +314,7 @@
"jcr:path LIKE '" + workspaceChunk + "/" +
ownerTypeChunk + "/" + ownerIdChunk
+ "/mop:rootpage/mop:children/mop:pages/mop:children/%' AND
" +
"(" +
- "LOWER(gtn:name) LIKE '%" + title + "%' OR
CONTAINS(gtn:name,'" + title + "')" +
- ")";
+ "LOWER(gtn:name) LIKE '%" + title.toLowerCase() +
"%')";
}
else
{
Show replies by date