1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-29 09:11:11 +01:00

Fix aggiornamento totali righe selezionate

This commit is contained in:
MatteoPistorello 2022-08-10 17:58:27 +02:00
parent f35a45c443
commit 8968230a9a

View File

@ -306,6 +306,14 @@ function initComplete(settings) {
}
function start_search(module_id, field, search_value) {
// Rimozione righe selezionate per problemi di calcolo totale righe selezionate
var table_selector = "#" + $this.attr('id');
var wrapper = getTable(table_selector);
var table = wrapper.datatable;
var row_ids = wrapper.getSelectedRows();
wrapper.removeSelectedRows(row_ids);
table.clear().draw();
setTableSearch(module_id, field, search_value);
column.search(search_value).draw();
}