AnsweredAssumed Answered

Custom filters not working in 7.7

Question asked by Varun Nath A V on Jun 5, 2016
Latest reply on Jun 5, 2016 by Varun Nath A V

I have a relate field for Users in a Custom module. I have added an initial filter for this field to populate a filtered list from Users when the "Search and Select" is clicked for this relate field. This was working fine in 7.6, but after upgrade to 7.7 this is not working. I have checked the filter params in the browser console and I could see that the filters params contains a '$in' as the default parameter, actualy "$contains" is expected. I tried all the possible ways to make this working and made the filter working by replacing an "$contains' => array()" in my filter definition with single quotes (''). But the filter parameter "is any of" not getting selected. Is this a 7.7 known bug or is there any other alternative to set the filter  parameter?

Outcomes