修改搜索记录数

master
YCC 1 year ago
parent 9604461cad
commit 14e3e2577c

@ -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']);
}
}

@ -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 {

Loading…
Cancel
Save