Filter record lists
Closed this issue · 2 comments
bzashev commented
There is the following case:
- I am on a records list page -> post list. It has several columns among which is the user.email, which is fieldFromRelation between the post and user entities.
2.I need to filter all post from a specific user, so I navigate to the filter menu. From there I select a user from the lookup list. - The filter is applied to the post.email field and not the field "author_id" which is the field with which the post entity is related to the user. Because if this the query fails as it tries to filter records on email field, which is missing in the post entity. It should go with the user_id instead
bzashev commented
I debugged the code and this is exactly what the problem is
bzashev commented
There also needs to be some way to say what kind of data the value should be parsed to, as now it is send as string always. I do not remember if this is done automatically in the API based on the field type