mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Now exports ALL qsos with the given filters
This commit is contained in:
@@ -206,6 +206,7 @@ class Logbookadvanced extends CI_Controller {
|
||||
|
||||
$postdata = $this->input->post();
|
||||
$postdata['user_id'] = (int)$this->session->userdata('user_id');
|
||||
$postdata['qsoresults'] = 'All';
|
||||
$data['qsos'] = $this->logbookadvanced_model->getSearchResult($postdata);
|
||||
|
||||
$this->load->view('adif/data/exportall', $data);
|
||||
|
||||
@@ -208,7 +208,11 @@ class Logbookadvanced_model extends CI_Model {
|
||||
$where = "AND $where";
|
||||
}
|
||||
|
||||
$limit = $searchCriteria['qsoresults'];
|
||||
$limit = '';
|
||||
|
||||
if ($searchCriteria['qsoresults'] != 'All') {
|
||||
$limit = 'limit ' . $searchCriteria['qsoresults'];
|
||||
}
|
||||
|
||||
$where2 = '';
|
||||
|
||||
@@ -237,7 +241,7 @@ class Logbookadvanced_model extends CI_Model {
|
||||
$where
|
||||
$where2
|
||||
ORDER BY qsos.COL_TIME_ON desc, qsos.COL_PRIMARY_KEY desc
|
||||
LIMIT $limit
|
||||
$limit
|
||||
";
|
||||
return $this->db->query($sql, $binding);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user