Skip to content

Order by nested single-cardinality property #835

Description

@miDeb

I don't know if this is specified somewhere (I didn't find anything), but according to this user on stack overflow it should be possible to sort data by a nested property, such as Orders?$expand=Customer&$orderby=Customer/City. As far as I can tell this is not currently implemented in lodata (getting the error "The orderby parameter specified properties (...) that did not exist").

I know you can order the list of expanded properties by using a nested orderBy, in this case however I want to order the top-level list according to a nested property that is connected in a one-to-one relationship.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions