Browse Source

listing

develop
Charly 3 years ago
parent
commit
3a946f4102
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Controller/User/GroupUserAdminController.php

+ 4
- 2
Controller/User/GroupUserAdminController.php View File

@@ -6,6 +6,7 @@ use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
use Lc\SovBundle\Container\User\GroupUserContainer;
use Lc\SovBundle\Controller\AbstractAdminController;
use Lc\SovBundle\Factory\User\GroupUserFactory;
use Lc\SovBundle\Field\StatusField;

abstract class GroupUserAdminController extends AbstractAdminController
{
@@ -13,8 +14,9 @@ abstract class GroupUserAdminController extends AbstractAdminController
public function configureFields(string $pageName): iterable
{
return [
TextField::new('title'),
TextField::new('devAlias'),
TextField::new('title')->setSortable(true),
TextField::new('devAlias')->hideOnIndex(),
StatusField::new('status')->setSortable(true),
];
}


Loading…
Cancel
Save