Closed FlipperPA closed 6 years ago
This looks good, maybe the problem comes from the endpoint, could you paste the code to that as well?
Thanks
I just has a thought looking at the code for your PR.
Are you using a custom viewset (or base_viewset) with filter_fields
declared directly on the viewset?
Can you try with the latest master and confirm that it fixes your issue please?
Without further report, I'm considering this issue fixed. Feel free to re-open if it is not
I'm attempt to write a custom adapter from base adapter, to display field types and whether or not they are filterable. Here's my code:
The pprint seems to indicate that there are no filter fields:
('filter_fields', [])])
However, for the endpoint I am testing I know there are three.
Any idea what I'm doing wrong? I've started digging through the code, but I'm not familiar and hoping I'm just doing something obviously wrong. Thanks for your efforts!