You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I having and issue with an Entity that has a @ManyToMany association. It's a Store and a StoreCategory many stores can be associated to many categories.
I have an Specification to search (like) the associated categories. And after:
As you can see i have 2 recordsTotal and 3 recordsFiltered so after filtering I have more records than the total. And as you can see, items 0 and 1 are the same Entity.
What I'm doing to solve this is remove duplicates like this:
I having and issue with an Entity that has a
@ManyToMany
association. It's aStore
and aStoreCategory
many stores can be associated to many categories.I have an
Specification
to search (like) the associated categories. And after:I have this:
As you can see i have 2 recordsTotal and 3 recordsFiltered so after filtering I have more records than the total. And as you can see, items 0 and 1 are the same Entity.
What I'm doing to solve this is remove duplicates like this:
Is this a bug or am I doing something wrong?
The text was updated successfully, but these errors were encountered: