Open SvenJuergens opened 1 year ago
Hello @SvenJuergens
I just had a look how EXT:news implement that:
https://github.com/georgringer/news/blob/main/Classes/Controller/NewsController.php#L693-L702
It has individual cases for each Pagination and uses different constructor arguments! The original interface was overwritten with class_alias and the implemented constructor was overwritten with help of default values. That's so damn nasty. Maybe I will find a solution to use ServiceLocators here, but I will not implement the EXT:news solution.
Stefan
The simplifyPagination Patch for using the numbered_pagination is great. I still have one small wish or suggestion for improvement. Unfortunately you can only pass the "maximumNumberOfLinks" as a ConstructorElement to NumberedPagination and so you have no possibility to customize this setting. It would be great if you could pass an individual value here.