修复view错误问题
This commit is contained in:
parent
c0b8655372
commit
2198fb3831
|
@ -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'";
|
||||
|
|
Loading…
Reference in New Issue