Browse Source

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Fabien Normand 3 years ago
parent
commit
529eb27022
2 changed files with 4 additions and 3 deletions
  1. +4
    -2
      Controller/User/GroupUserAdminController.php
  2. +0
    -1
      Model/User/UserModel.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),
];
}


+ 0
- 1
Model/User/UserModel.php View File

@@ -9,7 +9,6 @@ use Lc\SovBundle\Doctrine\EntityInterface;
use Lc\SovBundle\Doctrine\Extension\DevAliasInterface;
use Lc\SovBundle\Doctrine\Extension\DevAliasTrait;
use Lc\SovBundle\Doctrine\Extension\TimestampableTrait;
use Lc\SovBundle\Model\Newsletter\NewsletterInterface;
use Lc\SovBundle\Model\Ticket\TicketInterface;
use Symfony\Component\Security\Core\User\UserInterface;


Loading…
Cancel
Save