VadimDez / ngx-order-pipe

▼ Angular 5+ orderBy pipe
https://vadimdez.github.io/ngx-order-pipe/
MIT License
243 stars 57 forks source link

The pipe 'orderBy' could not be found #85

Closed roneilbrews closed 3 years ago

roneilbrews commented 4 years ago

First of all thank you for great work with pipe, I would love to use it, but I have an error "The pipe 'orderBy' could not be found".

let item of all_qualifiations
| orderBy : order:reverse:'case-insensitive' | paginate: { itemsPerPage: 10, currentPage: p } | filter : Term

                ">

import { OrderPipe } from 'ngx-order-pipe'; this.sortedCollection = this.orderPipe.transform(this.all_qualifiations, 'all_qualifiations.Name');

lukaVarga commented 4 years ago

Instead of adding OrderModule to your AppModule imports, try adding OrderPipe directly in declarations of the AppModule (or declarations and exports if you wish to add it in a different module)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.