From 174955d1eb2f860d64040d2c2c231fb784840312 Mon Sep 17 00:00:00 2001 From: neviyn Date: Mon, 10 May 2021 23:34:59 +0100 Subject: [PATCH] Increased number of images on a page --- src/main/kotlin/uk/co/neviyn/booru/Controller.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/uk/co/neviyn/booru/Controller.kt b/src/main/kotlin/uk/co/neviyn/booru/Controller.kt index b16e073..3cd3d02 100644 --- a/src/main/kotlin/uk/co/neviyn/booru/Controller.kt +++ b/src/main/kotlin/uk/co/neviyn/booru/Controller.kt @@ -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 = when (tags) { null -> imageRepository.findAll(page) // No tags were given to search for "" -> imageRepository.findAll(page)