DatatablesBundle
DatatablesBundle copied to clipboard
Search_delay not working
Hi, I have a problem with search_delay option - it works only every second time. First search has default delay (no delay?), and second one has delay from options, and then again default delay etc.
Code generated for searching look like this:

And I have this code in my dt:
$this->options->set([
'classes' => 'table table-hover',
'individual_filtering' => true,
'individual_filtering_position' => 'head',
'order_cells_top' => true,
'dom' => '<"row"<"col"f>>t<"row"<"col-auto"l><"col"p>>',
'search_delay' => 5000
]);
Does anyone has similar issue? If second function "$(selector).find.." with no options.searchDelay is overriding first one, why does it work alternately?