T&A10 44781: Fallback to first page and reset offset and range if out of bounds after filter
https://mantis.ilias.de/view.php?id=44781
This PR addresses an issue where deleting the last question on the last page of a paginated question pool results in an "offset is not in any range" exception. The fix ensures that the pagination state is adjusted correctly when the current page becomes empty after a deletion.
Already reviewed by @thojou.
This is fully in the UI-Framework, so I assign this to you @Amstutz , @klees , and @thibsy .
This is the PR for ILIAS 9 of https://github.com/ILIAS-eLearning/ILIAS/pull/9689
Thanks!
I reassign me for the statistic.