Skip to content

Commit 5389eee

Browse files
committed
Merge pull request #66 from gregorybesson/develop
fix user list filter
2 parents 2b74bdd + 9f4b422 commit 5389eee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/module.config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,11 @@
444444
'list' => array(
445445
'type' => 'Segment',
446446
'options' => array(
447-
'route' => '/list[/:roleId][/:filter][/:p]',
447+
'route' => '/list/:roleId[/:filter][/:p]',
448448
'defaults' => array(
449449
'controller' => 'playgrounduseradmin',
450450
'action' => 'list',
451-
//'roleId' => 'user',
451+
'roleId' => 'all',
452452
'filter' => 'DESC'
453453
),
454454
'constraints' => array(

src/PlaygroundUser/Controller/Admin/AdminController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function listAction()
1717
{
1818
$filter = $this->getEvent()->getRouteMatch()->getParam('filter');
1919
$roleId = $this->getEvent()->getRouteMatch()->getParam('roleId');
20-
$search = $this->params()->fromQuery('name');
20+
$search = $this->params()->fromQuery('name');
2121

2222
$role = $this->getAdminUserService()->getRoleMapper()->findByRoleId($roleId);
2323

0 commit comments

Comments
 (0)