mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-27 01:24:16 +00:00
Fixed adif export for multiple locations
This commit is contained in:
@@ -213,6 +213,7 @@ class Logbookadvanced extends CI_Controller {
|
||||
$postdata = $this->input->post();
|
||||
$postdata['user_id'] = (int)$this->session->userdata('user_id');
|
||||
$postdata['qsoresults'] = 'All';
|
||||
$postdata['de'] = explode(',', $postdata['de']);
|
||||
$data['qsos'] = $this->logbookadvanced_model->getSearchResult($postdata);
|
||||
|
||||
$this->load->view('adif/data/exportall', $data);
|
||||
|
||||
@@ -526,7 +526,7 @@ $(document).ready(function () {
|
||||
// You should set responseType as blob for binary responses
|
||||
|
||||
xhttp.responseType = 'blob';
|
||||
xhttp.send($('#searchForm').serialize());
|
||||
xhttp.send($('#searchForm').serialize()+"&de=" +$("#de").val());
|
||||
}
|
||||
$('#exportAdif').prop("disabled", false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user