I have this code(link to JSFIDDLE also included):

```
$(document).ready(function (){
var table = $('#example').DataTable();

$('#47y').on('click', function(){
   if(this.checked){
      $.fn.dataTable.ext.search.push(
         function (settings, data, dataIndex){
            return (data[3] == 47) ? true : false;
         }
      );
   }

   table.draw();

   if(this.checked){
      $.fn.dataTable.ext.search.pop();    
   }
});

$('#51y').on('click', function(){
   if(this.checked){
      $.fn.dataTable.ext.search.push(
         function (settings, data, dataIndex){
            return (data[3] == 51) ? true : false;
         }
      );
   }

   table.draw();

   if(this.checked){
      $.fn.dataTable.ext.search.pop();    
   }
});

});

```

[JSFIDDLE](https://jsfiddle.net/10uhwapv/21/)

I have 2 checkboxes, which filter the column 'Age'. They are working separately, but not together. I need to display both 47years and 50years when both of them are checked. I tried it in javascript, but the application is written in python/flask(with dataTables extension), so it is also the option. Thank you.