limit the query to 5000 qsos

This commit is contained in:
HB9HIL
2024-11-10 12:03:52 +01:00
parent 73310ddabd
commit 1c92a8f559

View File

@@ -53,6 +53,7 @@ class Visitor_model extends CI_Model {
$this->db->order_by(''.$this->config->item('table_name').'.COL_TIME_ON', "desc");
if ($num == 'all') {
$this->db->limit('5000');
return $this->db->get();
} else {
$this->db->limit($num);