Merge branch 'ent-9583-fallos-en-vista-repositorio-de-agentes' into 'develop'

Fix datatable var scope

See merge request artica/pandorafms!5154
This commit is contained in:
Diego Muñoz-Reja 2022-09-29 12:00:26 +00:00
commit 5de7d9e413
1 changed files with 1 additions and 1 deletions

View File

@ -3655,7 +3655,7 @@ function ui_print_datatable(array $parameters)
order: [[ '.$order.' ]]
};
var dt_'.$table_id.' = $("#'.$table_id.'").DataTable(settings_datatable);
dt_'.$table_id.' = $("#'.$table_id.'").DataTable(settings_datatable);
$("#'.$form_id.'_search_bt").click(function (){
dt_'.$table_id.'.draw().page(0)