Releases: VadimDez/ngx-order-pipe
Releases · VadimDez/ngx-order-pipe
3.0.0
Improvements
- [#173] - Upgrade to Angular 17
- [#154] - Create Ivy build
2.2.0
Changed
- [#106] - Update underlying project dependencies to Angular 10
- Minor types and naming changes
2.1.2
Improvements
- [#131] - Fix expression array being reversed
2.1.1
Improvements
- [#107] - Error ordering by null date property
- [#108] - Fix error ordering by null date property
2.1.0
Improvements
- [#91] - Multiple orders with date, second item is reversed
- [#103 - Fixed date comparison in default comparator
2.0.4
Improvements
- [#87] - fix error when expression point on sub-property of an undefined object
2.0.3
Improvements
- [#82] - Upgrade to Angular 8
2.0.2
Improvements
- [#79] - feature: support for callable function attribute on data source
- [#74] - Allow to sort also by function return value?
2.0.1
Features
- [#54] - multiple fields sorting
- [#14] - Multi Ordering
Feature
The expression
now accepts string
as well as array of strings
to perform multi order.
Example, order by name
and age
:
<div *ngFor="let item of items | orderBy: ['name', 'age']">
{{ item | json }}
</div>
2.0.0
Breaking changes
- [#52] - Value passed to transform() should not be modified.
Now the value passed to pipe is not directly modified