AlexanderKrutov / DataTables.Queryable

.Net library for clever processing of requests from datatables.net jQuery plugin on the server side (ASP.NET, Nancy or any other web server).
MIT License
50 stars 19 forks source link

Support for Multiple Filter Values on Same Column #37

Closed nchelix closed 5 years ago

nchelix commented 6 years ago

DataTables allows a regex search joining values on "|" to filter on a column for multiple values.

Documented here: https://datatables.net/forums/discussion/6946/multiple-filters-on-same-column

Currently, the ability to join search criteria with a "|" does not produce the expected results.

VictorioBerra commented 6 years ago

Server side regex stuff is not implemented. Just use a custom column search and implement this logic yourself.

AlexanderKrutov commented 5 years ago

@nchelix As previously mentioned by @VictorioBerra, server-side regex search is not supported. I recommend to use GlobalSearchPredicate or CustomFilterPredicate (depend on your needs), see Sample2 and Sample3.