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(){
|
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();
|
fights.clear();
|
||||||
try{
|
try{
|
||||||
while(rs.next()){
|
while(rs.next()){
|
||||||
@ -54,7 +54,7 @@ public class EventFight implements Comparable<EventFight> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static List<EventFight> getEvent(int eventID){
|
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<>();
|
List<EventFight> fights = new LinkedList<>();
|
||||||
try{
|
try{
|
||||||
while(rs.next())
|
while(rs.next())
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren