Closed roneilbrews closed 3 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)
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.
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.
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');