[ 
https://issues.apache.org/jira/browse/OLINGO-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz resolved OLINGO-497.
---------------------------------
    Resolution: Fixed

Fixed with commit [\[OLINGO-497\] Fixed orderby 
ordering|https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=1d150017eae04d0445a58ec671d9c613401a2c60].

> JPQLSelectContextView should use LinkedHashMap for OrderBy
> ----------------------------------------------------------
>
>                 Key: OLINGO-497
>                 URL: https://issues.apache.org/jira/browse/OLINGO-497
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.0
>            Reporter: Kiran G
>            Assignee: Michael Bolz
>
> JPQLSelectContextView has a method to getOrderByCollection.
> {code}
> public HashMap<String, String> getOrderByCollection();
> {code}
> This method really should return LinkedHashMap to preserve the order of the  
> $orderby's specified in the url. With the HashMap the orderbys are now being 
> applied in a random order in the query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to