mattiash / angular-tablesort

Sort angularjs tables easily
MIT License
185 stars 66 forks source link

ts-filter sorts by sorting criteria, instead of the displayed text #98

Closed orszaczky closed 6 years ago

orszaczky commented 7 years ago

In cases where sorting is done by an index or an ID, instead of the content displayed in the table, filtering won't work on the given columns. Ie: {name: 'Pear', order: 1}, {name: 'Apple', order: 2} <th ts-criteria="order" ts-filter></th> <td>{{item.name}}</td>

User won't be able to filter by name of the item...

mattiash commented 7 years ago

Resolved in 1.6.0. Thanks for the patch!