ARTICLE AD BOX
We have glossary entries in Sulu and would like to iterate over these items via pagination.
We use smartContent with Pagination:
This works for pagination like "/glossary?p=2"
We have like to extend this to be able to use the pagination with additional query parameter "letter" like
"/glossary?p=3&letter=B"
We implemented it like described in the docs
https://docs.sulu.io/en/2.0/cookbook/custom-page-data-provider.html
In the moment we don't know how to get query parameter letter from the request
Code from our QueryBuilder
How can we pass the query parameter letter to the QueryBuilder?
Technical:
Sulu 2.6.5
php 8.3
1431 silver badge11 bronze badges
Explore related questions
See similar questions with these tags.
