Correct voice channel show on wrong order on web page

This commit is contained in:
Sebastien 2018-12-03 15:53:26 +02:00
parent 3cd9c0064e
commit f216808663

View File

@ -14,6 +14,7 @@ import org.apache.logging.log4j.Logger;
import org.springframework.context.ApplicationContext;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
/**
@ -54,6 +55,8 @@ public class GetVoiceChanels {
}
list.sort(Comparator.comparingInt(Channel::getPositionRaw));
return list;
}