CurrentEvaluationsFilter

This commit is contained in:
2022-10-31 15:54:41 +01:00
parent 791ea25e4f
commit 68b9c171a6
2 changed files with 4 additions and 8 deletions

View File

@@ -25,11 +25,7 @@ class CurrentEvaluationsFilter implements FilterInterface
public function alterQuery(QueryBuilder $qb, $data)
{
$qb
->andWhere(
$qb->expr()->in('', ':')
)
->setParameter('', $data[]);
$qb->andWhere('workeval.endDate IS NULL');
}
public function applyOn(): string
@@ -39,13 +35,12 @@ class CurrentEvaluationsFilter implements FilterInterface
public function buildForm(FormBuilderInterface $builder)
{
$builder->add();
//no form needed
}
public function describeAction($data, $format = 'string'): array
{
return ['', [
]];
return ['Filtered by current evaluations'];
}
public function getTitle(): string