mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
more tests for exports
This commit is contained in:
@@ -87,6 +87,11 @@ class GenderFilter implements FilterInterface
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
{
|
||||
|
||||
switch($data['accepted_genders']) {
|
||||
case Person::MALE_GENDER:
|
||||
return 'Filtering by gender: male only';
|
||||
case Person::FEMALE_GENDER:
|
||||
return array('Filtering by gender: female only');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user