Adaptive CRUD for ASP.NET Core. With EasyData you can get both API endpoints and client-side UI for all CRUD operations in a matter of minutes using just your DbContext and a few lines of code.
MIT License
594
stars
63
forks
source link
Wrong IDs are used when clicking Edit/Delete buttons after filtering with the search #159
When you filter with the search bar and that you want to edit or delete a filtered entity, it will not actually delete or edit the entity you selected, but the one at the first page without any filter.
Page 1 without any filter:
Page 1 after filtering by searching "Nicolas":
Attempt to delete the entity with id "42098376-6700-488a-a7d6-e36003947c0a":
When you filter with the search bar and that you want to edit or delete a filtered entity, it will not actually delete or edit the entity you selected, but the one at the first page without any filter.
Page 1 without any filter:
Page 1 after filtering by searching "Nicolas":
Attempt to delete the entity with id "42098376-6700-488a-a7d6-e36003947c0a":