1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-02 20:57:47 +00:00

Fix wrong amount of rows

This commit is contained in:
GitHabbo 2022-11-13 17:40:36 +01:00
parent 81481d4994
commit 1f62baaa64

View file

@ -118,7 +118,7 @@ public class BanDao {
public static List<Ban> getActiveBans(int page, String sortBy) {
List<Ban> banList = new ArrayList<>();
int rows = 1;
int rows = 25;
int nextOffset = page * rows;
if (nextOffset >= 0) {