修复view错误问题

This commit is contained in:
wlx 2016-03-11 15:38:32 +08:00
parent c0b8655372
commit 2198fb3831
1 changed files with 2 additions and 2 deletions

View File

@ -2588,7 +2588,7 @@ class AuthorController extends Zend_Controller_Action
if(empty($ac) && empty($uuid))
{
$this->view->referenceType = $reference->referenceType();
view::addPaginator($reference->getReferencesByAuthor($u_id),$this, $this->view->pagelimit);
viewAssist::addPaginator($reference->getReferencesByAuthor($u_id),$this, $this->view->pagelimit);
return true;
}
//逐文献浏览
@ -2605,7 +2605,7 @@ class AuthorController extends Zend_Controller_Action
if (empty($keyword))
{
$this->_helper->viewRenderer('literature-viewdata');
view::addPaginator($reference->getReferencesByAuthorUUID($u_id,$uuid,0),$this, $this->view->pagelimit);
viewAssist::addPaginator($reference->getReferencesByAuthorUUID($u_id,$uuid,0),$this, $this->view->pagelimit);
} else {
$this->_helper->viewRenderer('literature-refsearch');
$sql="select title from metadata where uuid='$uuid'";