sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.1k stars 1.26k forks source link

Bugfix/issue 8168 fix batch consistency #8177

Closed pietaj closed 2 months ago

pietaj commented 2 months ago

Subject Fix Inconsistent Batch Selection Behavior

This PR addresses an inconsistency observed when both the all_elements and individual list rows are selected simultaneously before executing a batch action. The changes ensure that all_elements has priority over individual indices, leading to more predictable outcomes for batch operations.

I am targeting this branch, because these changes are backwards compatible and do not introduce any breaking changes.

Closes #8168.

Changelog

### Fixed
- Batch consistency