SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(orderByFilter): throw error if input is not array-like

BREAKING CHANGE:
Previously, an non array-like input would pass through the orderBy filter
unchanged.
Now, an error is thrown. This can be worked around by converting an object
to an array, either manually or using a filter such as
https://github.com/petebacondarwin/angular-toArrayFilter.
(`null` and `undefined` still pass through without an error, in order to
support asynchronous loading of resources.)

Closes #11255
Closes #11719
N
Nuri Hodges committed
2a85a634f86c84f15b411ce009a3515fca7ba580
Parent: 00d2b2c
Committed by Georgios Kalpakas <g.kalpakas@hotmail.com> on 10/31/2015, 12:52:03 AM