0

I have multiple columns in a table such as router id, status, name, location. I want to search the table based on status and column. For now, I can search on status. But if I try to add name in addition to status for searching, it is not working. I am sure I am wrong in syntax. Can somenone help me out? Here's my code

 <tr ng-repeat="router in routerList | orderBy: rule|filter : {'status' : naviagtion.searchText }| limitTo:5:5*(naviagtion.currentPage-1) ">
  </tr>

I want to add name for the filter as well.

chan
  • 274
  • 1
  • 5
  • 24

0 Answers0