[
https://issues.apache.org/jira/browse/OAK-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328726#comment-16328726
]
Thomas Mueller commented on OAK-7131:
-------------------------------------
http://svn.apache.org/r1821358 (trunk)
> xpath to sql2 conversion drops order by clause for some cases
> -------------------------------------------------------------
>
> Key: OAK-7131
> URL: https://issues.apache.org/jira/browse/OAK-7131
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Reporter: Vikas Saurabh
> Assignee: Thomas Mueller
> Priority: Critical
> Fix For: 1.10
>
>
> When xpath has OR-ed primary type and a couple of OR-ed property constraint
> (e.g. \[0]), the converted sql statement doesn't get ordering clause.
> \[0]:
> {noformat}
> //(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)