Skip to content
Snippets Groups Projects

Dev#75882 minsoc faire des filtres sur des facettes et des domaines au moment de la recherche s2

Compare and Show latest version
10 files
+ 80
62
Preferences
Compare changes
Files
10
@@ -24,25 +24,4 @@ class Admin_AuthorBrowserController extends ZendAfi_Controller_Action {
public function getPlugins() {
return ['ZendAfi_Controller_Plugin_ResourceDefinition_Author'];
}
public function indexAction() {
if ($this->_response->isRedirect())
return;
$this->view->titre = $this->_definitions->indexActionTitle();
if($this->_request->isPost())
return $this->_redirectToRefererWithNewParams(['title_search' => $this->_getPost()['title_search'],
'page' => $this->_getParam('page', 1),
'order' => $this->_getParam('order', 'libelle')]);
$this->view->list = $this->_helper
->authorListViewMode(['model' => new Class_CodifAuteur,
'order' => $this->_getParam('order'),
'page' => $this->_getParam('page', 0),
'search_value' => $this->_getParam('title_search', '')]);
return $this->renderScript('admin/listViewMode.phtml');
}
}
\ No newline at end of file