Skip to content
Snippets Groups Projects

Master

Merged Patrick Barroca requested to merge master into WIP
Compare and
8 files
+ 25
18
Preferences
Compare changes
Files
8
@@ -59,7 +59,7 @@ class Admin_CmsController extends ZendAfi_Controller_Action {
}, $bibs);
$search = $this->_getParam('title_search', '');
$status = $this->_getParam('status', '');
$status = $this->_getParam(ZendAfi_Controller_Action_Helper_ArticleListViewMode::STATUS_SEARCH, '');
$id_bib = $this->_getParam('id_bib',
$this->identity->isRoleLibraryLimited()
@@ -69,7 +69,7 @@ class Admin_CmsController extends ZendAfi_Controller_Action {
$params = ['page' => $this->_getParam('page', 0),
'search_value' => $search,
'status' => $status,
ZendAfi_Controller_Action_Helper_ArticleListViewMode::STATUS_SEARCH => $status,
'bib' => $this->_bib,
'id_bib' => $id_bib,
'id_cat' => $id_cat];
@@ -95,7 +95,7 @@ class Admin_CmsController extends ZendAfi_Controller_Action {
if($this->_request->isPost())
return $this->_redirectToRefererWithNewParams(['title_search' => $this->_getPost()['title_search'],
'page' => $this->_getParam('page'),
'status' => $this->_getPost()['status']]);
ZendAfi_Controller_Action_Helper_ArticleListViewMode::STATUS_SEARCH => $this->_getPost()[ZendAfi_Controller_Action_Helper_ArticleListViewMode::STATUS_SEARCH]]);
if (Class_AdminVar::isArticlesListMode())
return $this->_renderList();
@@ -173,4 +173,3 @@ class Admin_CmsController extends ZendAfi_Controller_Action {
$this->getResponse()->setBody((new Class_ArticleCategorie())->getCategoriesJson());
}
}
?>
\ No newline at end of file