Skip to content

Broken order filter since #1633 #1693

Description

@jdeniau

I tried to update to 2.2.0-beta but the ?order[foo]=DESC does not seems to works anymore. The order is not set in the query anymore.

I bisected api-platform and the commit breaking this is 63d555a (PR #1633 )

I investigated a little and it seems that the doctrine query is OK in FilterExtension after applyToCollection method call, but is not present is symfony's debug toolbar.

If you have an idea @dunglas ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions