Skip to content

Commit

Permalink
Re-add membership status after rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuverkropp authored and ssuverkropp committed Mar 3, 2024
1 parent 1a205a3 commit ffc27b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Controller/Admin/MemberCrud.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ public function configureCrud(Crud $crud): Crud
return $crud
->setEntityLabelInSingular('lid')
->setEntityLabelInPlural('Leden')
->setSearchFields(['id', 'firstName', 'lastName', 'email', 'phone', 'city', 'postCode'])
->setSearchFields(['id', 'firstName', 'lastName', 'email', 'phone', 'city', 'postCode', 'currentMembershipStatus.name'])
;
}

public function configureFilters(Filters $filters): Filters
{
$filters->add(EntityFilter::new('division'));
return $filters;
return $filters
->add(EntityFilter::new('division'))
->add(EntityFilter::new('currentMembershipStatus'));
}

public function configureActions(Actions $actions): Actions {
Expand Down

0 comments on commit ffc27b0

Please sign in to comment.