Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit bfcb70a

Browse files
authored
Fix selector
1 parent c618016 commit bfcb70a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/datatable/search.js.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ var search = $.fn.dataTable.util.throttle(
3737
options.searchDelay
3838
);
3939

40-
$(oTable.table().container()).find("tr input.sg-datatables-individual-filtering").on("keyup change", search);
40+
$(selector + '-filterrow').find("input.sg-datatables-individual-filtering").on("keyup change", search);
4141

42-
$(oTable.table().container()).find("tr select.sg-datatables-individual-filtering").on("keyup change", function(event) {
42+
$(selector + '-filterrow').find("select.sg-datatables-individual-filtering").on("keyup change", function(event) {
4343
var searchValue = $(this).val();
4444
searchValue = searchValue ? searchValue.toString() : '';
4545
oTable

0 commit comments

Comments
 (0)