Steps to reproduce
- Create a new eZ Platform installation and launch it in prod environment.
- Create new folder named Foobar
- Create new article Foo under folder Foobar
- Create new article Bar under folder Foobar
- Move article Foo to trash
- Restore Foo from trash
- Go to Foobar folder location and notice that Sub-items pagination is broken (see attached screenshot)