[LBA] Now deletes QSOs in batch, instead of looping through each

This commit is contained in:
Andreas
2024-02-18 20:19:45 +01:00
parent b44b5dc777
commit 3aac4e12b3
3 changed files with 37 additions and 12 deletions

View File

@@ -527,4 +527,11 @@ class Logbookadvanced extends CI_Controller {
header("Content-Type: application/json");
print json_encode($q);
}
public function batchDeleteQsos() {
$ids = xss_clean($this->input->post('ids'));
$this->load->model('logbookadvanced_model');
$this->logbookadvanced_model->deleteQsos($ids);
}
}