Increased number of images on a page

This commit is contained in:
neviyn 2021-05-10 23:34:59 +01:00
parent b5ac6ed462
commit 174955d1eb

View File

@ -119,7 +119,7 @@ class ImageController
@RequestParam tags: String?,
model: Model
): String {
val page = PageRequest.of(pageNumber - 1, 20)
val page = PageRequest.of(pageNumber - 1, 24)
val images: Page<Image> = when (tags) {
null -> imageRepository.findAll(page) // No tags were given to search for
"" -> imageRepository.findAll(page)