aurelia-components / examples

examples of different aurelia components usages
0 stars 1 forks source link

Sorting problem in Grid #2

Closed dbrezoev closed 8 years ago

dbrezoev commented 8 years ago

Consider if in base-store.js the following method should be: changeSortProcessingOrder(sort) { let index = this.sortProcessingOrder.findIndex((el, index) => { if (el.name === sort.name) { <------------ // it was el.column == sort.column return true; } ........ }

When used with backend sorting it sends the same sorting options for one column over and over. by: Niki, Dobromir x 2

moshensky commented 8 years ago

they can't be compared by name, because if you have two columns representing same data sort will fail.

moshensky commented 8 years ago

Will be fixed today.