I have a collection where some entires are shown as duplicates
Even when I filter by ID the result has 2 entries (See attached screenshot).
Since the ID is the primary key it has a unique constraint. I even checked the database but there is only one entry.
Thanks for the reply.
In the list route for this collection the request.query.filters are changed in some cases. But when filtering for id the request.query.filters stays the same.
We upgraded the forest-express-sequelize to check if the issue is gone, but we had this issue before and it is still there.
I found the reason. The problem is that there is a relation to another table which is defined as a one-to-one relation.
The relation does not use the ids but other values to map to each other as described here
The problem is, that it really is a one-to-many relationship, because there could be mane otherItem not only one. This results in as many search results as otherItems are available with this relation.