parent
02afa9fd55
commit
e0f0fbf1cc
|
@ -64,17 +64,11 @@ class GroupController extends AuthBackendController
|
|||
$query->applyFilter($filterEditor->getFilter());
|
||||
$this->setupFilterControl($filterEditor);
|
||||
|
||||
try {
|
||||
$this->setupPaginationControl($query);
|
||||
$this->view->groups = $query;
|
||||
} catch (Exception $e) {
|
||||
Notification::error($e->getMessage());
|
||||
Logger::error($e);
|
||||
}
|
||||
|
||||
$this->view->groups = $query;
|
||||
$this->view->backend = $backend;
|
||||
$this->createListTabs()->activate('group/list');
|
||||
|
||||
$this->setupPaginationControl($query);
|
||||
$this->setupLimitControl();
|
||||
$this->setupSortControl(
|
||||
array(
|
||||
|
|
|
@ -26,11 +26,6 @@ if ($backend === null) {
|
|||
$reducible = $backend instanceof Reducible;
|
||||
}
|
||||
|
||||
if (! isset($groups)) {
|
||||
echo $this->translate('Failed to fetch any groups') . '</div>';
|
||||
return;
|
||||
}
|
||||
|
||||
if (count($groups) > 0): ?>
|
||||
<table data-base-target="_next" class="action group-list">
|
||||
<thead>
|
||||
|
|
Loading…
Reference in New Issue