fix search error
This commit is contained in:
parent
a2a86129cc
commit
0e884a6ca6
|
@ -1853,7 +1853,7 @@ class AuthorController extends Zend_Controller_Action
|
|||
$row = $sth->fetch();
|
||||
|
||||
//update search document
|
||||
$search=new SimpleSearch();
|
||||
$search=new Search();
|
||||
//create search view in xunsearch
|
||||
//$sql="select m.uuid,m.title,m.description,x.data,array_to_string(ARRAY( SELECT keyword.keyword FROM keyword WHERE keyword.id = m.id), ', '::text) AS keyword from normalmetadata m left join xml x on m.id=x.id where m.uuid=?";
|
||||
$sql="select * from xunsearch where uuid=?";
|
||||
|
|
Loading…
Reference in New Issue