Skip to content

Only one order by can be handled #22

@TimothyGillespie

Description

@TimothyGillespie

Describe the Bug
The .order() method on the Query overwrites itself and only saves the last instance. This makes it impossible to sensible write queries which require multiple order by statements.

To Reproduce
repo.query().order("x").order("y");

Expected behavior
Should not throw away previous orders.

Screenshots / Logs
None

Environment Information:

  • Java Language Level :

Additional Context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions