Sorting with filter on column without main filter on cause redisplay all rows
Sorting with filter on column without main filter on cause redisplay all rows

Hi, when DataTable is initialized without main filter - "bFilter": false
then filter on single column is called and then click on header to sort, all rows are redisplayed. When "bFilter": true it works correctly.
Steps to reproduce:
1. open sample api/multi_filter.html
2. add "bFilter": false to init function like this
oTable = $('#example').dataTable({
"bFilter": false,
"oLanguage": {
"sSearch": "Search all columns:"
}
} );
3. run sample
4. put C in grade column filter - it should filter table to 8 rows
5. click on any header to sort, for example Browser column
6. bug - it shows all rows
Note: If "bFilter": true it works as excepted
then filter on single column is called and then click on header to sort, all rows are redisplayed. When "bFilter": true it works correctly.
Steps to reproduce:
1. open sample api/multi_filter.html
2. add "bFilter": false to init function like this
oTable = $('#example').dataTable({
"bFilter": false,
"oLanguage": {
"sSearch": "Search all columns:"
}
} );
3. run sample
4. put C in grade column filter - it should filter table to 8 rows
5. click on any header to sort, for example Browser column
6. bug - it shows all rows
Note: If "bFilter": true it works as excepted
This discussion has been closed.
Replies
http://datatables.net/forums/comments.php?DiscussionID=2114&page=1#Comment_9172