Hi,
we have been using your bundle for a while and it's great, but today I came across a problem of filtering by calculated field. I would like to filter the list of my Offer entities by dynamic field tags. Tags are detected by some complex logic and not stored to database, but added on the fly. I found a way to do the filtering by extending the Paknahad\JsonApiBundle\Helper\ResourceCollection, but the bundle does not allow me to add ?filter[tag]=tagName to request because it is not an actual field in the table. The error message I am getting is:
"message": "No entity found for entity App\Entity\Offer and field tags",
Is there a way to achieve custom filters?
Thanks
Hi,
we have been using your bundle for a while and it's great, but today I came across a problem of filtering by calculated field. I would like to filter the list of my Offer entities by dynamic field
tags. Tags are detected by some complex logic and not stored to database, but added on the fly. I found a way to do the filtering by extending thePaknahad\JsonApiBundle\Helper\ResourceCollection, but the bundle does not allow me to add?filter[tag]=tagNameto request because it is not an actual field in the table. The error message I am getting is:Is there a way to achieve custom filters?
Thanks