From 14e3e2577c511cff7e263a1aee5316440a1d76e6 Mon Sep 17 00:00:00 2001 From: YCC Date: Mon, 26 Feb 2024 15:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/welcome.php | 2 +- application/models/information_model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index ca6aefaf..7a1471c4 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -60,7 +60,7 @@ class Welcome extends CI_Controller { if (!empty($data['all_text_search']) && $data['all_text_search'] == 'true') { $data['search_list'] = $this->Information_model->search_all_text($data['keywords'],48); } else { - $data['search_list'] = $this->Information_model->search($data['keywords'],48); + $data['search_list'] = $this->Information_model->search($data['keywords']); } } diff --git a/application/models/information_model.php b/application/models/information_model.php index 35b2570d..a80ffa61 100644 --- a/application/models/information_model.php +++ b/application/models/information_model.php @@ -52,7 +52,7 @@ class Information_model extends CI_Model function search($keyword) { $this->init(); - $this->topNum = 24; + $this->topNum = 48; if (is_numeric($keyword)) { $this->search_title = "AND ic_id=" . $this->HT->escape($keyword); } else {