mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-03 13:17:46 +00:00
Fix wrong amount of rows
This commit is contained in:
parent
81481d4994
commit
1f62baaa64
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ public class BanDao {
|
||||||
public static List<Ban> getActiveBans(int page, String sortBy) {
|
public static List<Ban> getActiveBans(int page, String sortBy) {
|
||||||
List<Ban> banList = new ArrayList<>();
|
List<Ban> banList = new ArrayList<>();
|
||||||
|
|
||||||
int rows = 1;
|
int rows = 25;
|
||||||
int nextOffset = page * rows;
|
int nextOffset = page * rows;
|
||||||
|
|
||||||
if (nextOffset >= 0) {
|
if (nextOffset >= 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue