Ngx Order Pipe Versions Save

▼ Angular 5+ orderBy pipe

1.2.1

6 years ago

Features

  • [#48] - Add OrderPipe as provider in the OrderModule

Use OrderPipe in the component

Import OrderPipe to your component:

import { OrderPipe } from 'ngx-order-pipe';

Add OrderPipe to the constructor of your component and you're ready to use it:

constructor(private orderPipe: OrderPipe) {
  console.log(this.orderPipe.transform(this.collection, this.order));
}

1.2.0

6 years ago

Improvements

  • [#46] - Restructure
  • [#45] - Use packagr
  • [#32] - Angular 5

Breaking change

Bundle location is changed, therefore SYSTEMJS config should be updated

Append to map

var map = {
    ...
    'ngx-order-pipe': 'node_modules/ngx-order-pipe/bundles'
}

and then add to packages

var packages = {
    ...
    'ngx-order-pipe': { defaultExtension: 'js' }
}

1.1.3

6 years ago

Improvements

  • [#35] - Null or undefined values
  • [#44] - Changing default comparator so it would properly sort null and undefined values.

1.1.2

6 years ago

Fixes

  • [#42] - Can't find module

1.1.1

6 years ago

###Features

  • [#34] - order sorting issue in asc & dec
  • [#31] - Added comparator

1.0.4

6 years ago

Features

  • [#26] - Feature request to switch it to case-insensitive
  • [#27] - Adding support for case insensitive ordering

1.0.3

6 years ago

Improvements

[#28] - Fix when a or b might be null (e.g. Async items)

1.0.2

6 years ago

Fixes

  • [#21] - Can not sort by embedded object value

1.0.1

6 years ago

Changes

[#19] - Create UMD bundle

1.0.0

7 years ago

Changes

[#15] - Change name to ngx-order-pipe