diff --git a/libraries/classes/Controllers/Table/SearchController.php b/libraries/classes/Controllers/Table/SearchController.php index 648e40b299..bcd8d61a3c 100644 --- a/libraries/classes/Controllers/Table/SearchController.php +++ b/libraries/classes/Controllers/Table/SearchController.php @@ -413,7 +413,7 @@ class SearchController extends AbstractController } $htmlAttributes .= ' onfocus="return ' - . 'verifyAfterSearchFieldChange(' . $column_index . ', \'#tbl_search_form\')"'; + . 'verifyAfterSearchFieldChange(' . $search_index . ', \'#tbl_search_form\')"'; $value = $this->template->render('table/search/input_box', [ 'str' => '',