Steps to reproduce:
- Access a page that has translations eg. Sandbox (can be unregistered user, admin or simple user)
- Click on More Actions > Children
- Observe the listed results in the table and the number of results shown on top
- Sort the table by the Title column
- Sort the table by the Date column
Expected results: The results shown in the table match with the number shown on top. The pages shown as result are only in the selected language of the wiki.
Actual results: The number of results shown on top isn't matching with the results shown in the table. When sorting by Title or by Date the pages that have other translations (then EN in this case) are shown.
Environment: Windows 10, XWiki 13.4.1 and 13.5 RC1 with MySQL 8.0 and IE 11, Chrome 91