Increased number of images on a page
This commit is contained in:
parent
b5ac6ed462
commit
174955d1eb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user