DocumentLibrary block throws error if 'Items Per Page' is set to 0
Permalink
I'm not sure why they did it but a client of mine set the 'Items Per Page' to zero and it caused an error. It was an easy fix for me to make but the average joe will have a dead page.
The error was...
"Pagerfanta \ Exception \ LessThan1MaxPerPageException
No message"
Seems like there should be a check on the displayLimit in the controller.
The error was...
"Pagerfanta \ Exception \ LessThan1MaxPerPageException
No message"
Seems like there should be a check on the displayLimit in the controller.