mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-01 10:37:31 +01:00
Fix aggiornamento totali righe selezionate
This commit is contained in:
parent
f35a45c443
commit
8968230a9a
@ -306,6 +306,14 @@ function initComplete(settings) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function start_search(module_id, field, search_value) {
|
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);
|
setTableSearch(module_id, field, search_value);
|
||||||
column.search(search_value).draw();
|
column.search(search_value).draw();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user