Browse Source

搜索翻页问题

shq1016 6 năm trước cách đây
mục cha
commit
265c9c1d1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/controller/NewsController.php

+ 1 - 1
app/admin/controller/NewsController.php

@@ -30,7 +30,7 @@ class NewsController extends AdminBaseController{
         $catid = isset($param['catid'])?intval($param['catid']):0;
         $query = array(
             'catid' => $catid,
-            'title' => $keywords
+            'keywords' => $keywords
         );
         $map = array();
         if($this->iseditor){