An entityFilter (not equal) doesn't work correctly when user can choose more than one option

Viewed 29

EntityFilter works well when you can select only one option but in my case, I allow the user to choose severals option :
EntityFilter with more than one option

Now if I filter by not equal James Harveyd this is my result :

enter image description here

And the way I add my filter :

 public function configureFilters(Filters $filters): Filters
    {

        return $filters
            ->add(EntityFilter::new('supervisors', 'supervisors'));
    }

I don(t understand why EA make appear the second line, any idea ?

0 Answers
Related