Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

orderBy doesn't reverse order if no predicate specified. #11866

Closed
@wawyed

Description

@wawyed

According to the documentation: https://docs.angularjs.org/api/ng/filter/orderBy.

If no property is provided, (e.g. '+') then the array element itself is used to compare where sorting.

This seems to be working fine in 1.3.5 but it seems to have been broken in 1.3.6+.

Probably caused by: 8bfeddb

Plnkr with the issue: http://plnkr.co/edit/vaOJzuDdkJUookDVSuDK?p=preview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions