When trying to use the query fieldtype to display children of an item the pagination does not work - trying to display the second result page results in a permission error, even when the user performing the action is "admin"
IMPORTANT: Use APP_ENV=prod and APP_DEBUG=0
Create a file: templates/themes/standard/content/view/line/image.html.twig with content:
Steps to reproduce:
- Login as admin
- Start creating a new Content Type: "Gallery"
- Make it a container
- Add two fieldtypes:
- Configure query fieldtype:
- query type: children
- returned type: images
- Create a Gallery Content Item
- Create 11 images under it (use multifile upload to speed it up)
- When viewing the created Gallery item switch to second page of pagination in the Query field
The results from second page are displayed
Error page about lack of permissions is displayed (even though I'm logged in as admin)