EventFight order hotfix
Dieser Commit ist enthalten in:
Ursprung
78ea4ed6e4
Commit
afc74d6a34
@ -42,7 +42,7 @@ public class EventFight implements Comparable<EventFight> {
|
||||
}
|
||||
|
||||
public static void loadAllComingFights(){
|
||||
ResultSet rs = SQL.select("SELECT * FROM EventFight WHERE StartTime > now()");
|
||||
ResultSet rs = SQL.select("SELECT * FROM EventFight WHERE StartTime > now() ORDER BY `StartTime` ASC");
|
||||
fights.clear();
|
||||
try{
|
||||
while(rs.next()){
|
||||
@ -54,7 +54,7 @@ public class EventFight implements Comparable<EventFight> {
|
||||
}
|
||||
|
||||
public static List<EventFight> getEvent(int eventID){
|
||||
ResultSet rs = SQL.select("SELECT * FROM EventFight WHERE EventID = " + eventID + " ORDER BY FightID ASC");
|
||||
ResultSet rs = SQL.select("SELECT * FROM EventFight WHERE EventID = " + eventID + " ORDER BY `StartTime` ASC");
|
||||
List<EventFight> fights = new LinkedList<>();
|
||||
try{
|
||||
while(rs.next())
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren