mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
SEARCH-456: Putting quotes around an interval filter query
This commit is contained in:
@@ -116,8 +116,9 @@ public class IntervalSet
|
|||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder("");
|
StringBuilder sb = new StringBuilder("");
|
||||||
sb.append(startInclusive?"[":"<")
|
sb.append(startInclusive?"[":"<")
|
||||||
.append(start)
|
.append("\"").append(start).append("\"")
|
||||||
.append(" TO "+end)
|
.append(" TO ")
|
||||||
|
.append("\"").append(end).append("\"")
|
||||||
.append(endInclusive?"]":">");
|
.append(endInclusive?"]":">");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user