浏览代码

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

develop
Fabien Normand 3 年前
父节点
当前提交
529eb27022
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. +4
    -2
      Controller/User/GroupUserAdminController.php
  2. +0
    -1
      Model/User/UserModel.php

+ 4
- 2
Controller/User/GroupUserAdminController.php 查看文件

@@ -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 查看文件

@@ -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;


正在加载...
取消
保存