Finds search: gallery: pagination problem (bis)
I know I've already reported this bug over a year ago but I can't find the relevant ticket, so there it is:
In the gallery, the last number of pages is not an integer, but a float. If you click on that one, you only have float numbers for pages and even more problematic, you can't come back to the first page. See screenshots.
In this example, number of items was 305 and the number displayed by page was 10.
I think the problem appeared after #4403 resolution.