VadimDez / ngx-order-pipe

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

Fix expression array being reversed #131

Closed DeepSnowNeeL closed 3 years ago

DeepSnowNeeL commented 3 years ago

When used with an array of expressions, the order pipe calls .reverse on it which will modify the given array and affect the next pipe call.

exemple usage which fails : | orderBy: ['a', 'b']" each time angular will re-render the dom the array will be reverse()'d and the display order will change

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.