Skip to content

How to override default ordering with an order filter #2690

@tezvi

Description

@tezvi

Hi everyone!

I've added default ordering to resource attributes (yaml). So far so good.
However, the default order is still applied when querying the collection with an explicit order filter (query param).

The query builder used by data provider orders by default and by order filter.

Is there a way to ditch default order when order filter has been activated?

Also is it possible to define default order at operation level?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions