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?,
|
@RequestParam tags: String?,
|
||||||
model: Model
|
model: Model
|
||||||
): String {
|
): String {
|
||||||
val page = PageRequest.of(pageNumber - 1, 20)
|
val page = PageRequest.of(pageNumber - 1, 24)
|
||||||
val images: Page<Image> = when (tags) {
|
val images: Page<Image> = when (tags) {
|
||||||
null -> imageRepository.findAll(page) // No tags were given to search for
|
null -> imageRepository.findAll(page) // No tags were given to search for
|
||||||
"" -> imageRepository.findAll(page)
|
"" -> imageRepository.findAll(page)
|
||||||
|
Loading…
Reference in New Issue
Block a user