@ -179,11 +179,12 @@ watch(
async function asyncFind(query) {
const { items } = await userService.findBySearchTerm(query)
return items.map((member) => ({
name: member.fullName,
value: member["@id"],
}))
return items
.filter(member => member.active === 1)
.map(member => ({
}
function onUploadSuccess({ response }) {
@ -643,6 +643,7 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
#[ORM\Column(name: 'expiration_date', type: 'datetime', unique: false, nullable: true)]
protected ?DateTime $expirationDate = null;
#[Groups(['user:read', 'user_json:read'])]
#[ORM\Column(name: 'active', type: 'integer')]
protected int $active;