I'm using getDefaultSearchContext() to customise the search filters appearing in the ModelAdmin grid view. It works fine for one-to-many relationships, with ExactMatchFilter, but breaks on a many-to-many relationship.
I'm using a ListboxField so that the query generated by ExactMatchFilter is of the form "where q[fieldName] in (1, 2, 3)", but it would need to generate a more complex query than that, which I don't see any signs of in ExactMatchFilter or the other search filter subclasses.
Has anyone else solved this problem? Maybe there's a search filter subclass or an extension that can do it?