Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
IgGrid request error when IgGridGroupBy and IgGridSorting are used together on same column
posted

I am getting a request error from the server (invalid OData request) when I sort and groupby on the same column. The reason being $orderby is set twice on the same column. I am using a remote datasource (ASP.NET WebAPI 2 OData controller).

Request: /OData/GetRecords?%24orderby=Name+asc%2CName+asc&%24skip=0&%24top=25&%24inlinecount=allpages&pk=RecordID&_=1386690811172

Error: Duplicate property named 'Name' is not supported in '$orderby'

I am using version 2013.1.2292.