mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2933 from AndreasK79/timeline_detail_fix
[Timeline] Fix for when mode is selected
This commit is contained in:
@@ -340,8 +340,10 @@ class Timeline_model extends CI_Model {
|
||||
}
|
||||
|
||||
if ($mode != 'All') {
|
||||
$this->db->group_start();
|
||||
$this->db->where('col_mode', $mode);
|
||||
$this->db->or_where('col_submode', $mode);
|
||||
$this->db->group_end();
|
||||
}
|
||||
|
||||
$this->db->where_in('station_profile.station_id', $logbooks_locations_array);
|
||||
|
||||
Reference in New Issue
Block a user