Index: ../../jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/jackrabbit/user/AuthorizableQueryManager.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- ../../jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/jackrabbit/user/AuthorizableQueryManager.java (revision 1653242) +++ ../../jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/jackrabbit/user/AuthorizableQueryManager.java (revision ) @@ -60,6 +60,7 @@ { property: /* relative path (String) * / ( direction: "asc" | "desc" ) // Defaults to "asc" + ( ignoreCase: true | false ) // Defaults to "true", see QueryBuilder#setSortOrder() } ) ? // Defaults to document order @@ -636,15 +637,16 @@ private String currentKey; private String property; private QueryBuilder.Direction direction; + private boolean ignoreCase; @Override public void endObject() throws IOException { if (property == null) { throw new IOException("Missing property"); } else { - queryBuilder.setSortOrder(property, direction == null - ? QueryBuilder.Direction.ASCENDING - : direction, true); + queryBuilder.setSortOrder(property, + direction == null ? QueryBuilder.Direction.ASCENDING : direction, + ignoreCase); } handlers.pop(); } @@ -660,6 +662,8 @@ property = s; } else if ("direction".equals(currentKey)) { direction = directionFor(s); + } else if ("ignoreCase".equals(currentKey)) { + ignoreCase = Boolean.valueOf(s); } else { throw new IOException("Unexpected: '" + currentKey + ':' + s + '\''); }