esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

OR-ing filter programmatically. #1013

Open dandansoysauce opened 7 years ago

dandansoysauce commented 7 years ago

Hi, how do I OR a filter programmatically. I know this could be done by

tableParams.filter({ $: 'something' })

$ being global. Or any property name.

How do I use OR using that syntax? Thanks

huizhoujava commented 6 years ago

Anyone have any idea? $ is global and is for all the properties. For some properties we don't render on the page, if we make search on such not rendered property with $ filter, the row can still be searched. This is very confusing to the user.