mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-20 07:01:22 +01:00
Fixing questtop list limitation
This commit is contained in:
parent
6a7b588c18
commit
99d88a59f0
@ -1679,8 +1679,7 @@ public abstract class JobsDAO {
|
||||
ResultSet res = null;
|
||||
try {
|
||||
prest = conn.prepareStatement("SELECT `id`, `" + UserTableFields.player_uuid.getCollumn() + "`, `" + UserTableFields.donequests.getCollumn() + "` FROM `" + DBTables.UsersTable.getTableName()
|
||||
+ "` ORDER BY `" + UserTableFields.donequests.getCollumn() + "` DESC, LOWER(" + UserTableFields.seen.getCollumn() + ") DESC LIMIT " + start + ", " + (start + Jobs
|
||||
.getGCManager().JobsTopAmount + 1) + ";");
|
||||
+ "` ORDER BY `" + UserTableFields.donequests.getCollumn() + "` DESC, LOWER(" + UserTableFields.seen.getCollumn() + ") DESC LIMIT " + start + ", 30;");
|
||||
|
||||
res = prest.executeQuery();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user