mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-07 04:18:26 +02:00
Fixed groups appearing multiple times on players table
This commit is contained in:
parent
59022774b6
commit
dfbfb99b2d
@ -78,7 +78,7 @@ public class ExtensionServerPlayerDataTableQuery implements Query<Map<UUID, Exte
|
||||
SessionsTable.TABLE_NAME + '.' + SessionsTable.USER_UUID +
|
||||
",MAX(" + SessionsTable.SESSION_END + ") as last_seen" +
|
||||
FROM + SessionsTable.TABLE_NAME +
|
||||
GROUP_BY + SessionsTable.TABLE_NAME + '.' + SessionsTable.USER_UUID + ',' + SessionsTable.SESSION_END +
|
||||
GROUP_BY + SessionsTable.TABLE_NAME + '.' + SessionsTable.USER_UUID +
|
||||
ORDER_BY + SessionsTable.SESSION_END + " DESC LIMIT ?";
|
||||
|
||||
String sql = SELECT +
|
||||
@ -125,7 +125,7 @@ public class ExtensionServerPlayerDataTableQuery implements Query<Map<UUID, Exte
|
||||
SessionsTable.TABLE_NAME + '.' + SessionsTable.USER_UUID +
|
||||
",MAX(" + SessionsTable.SESSION_END + ") as last_seen" +
|
||||
FROM + SessionsTable.TABLE_NAME +
|
||||
GROUP_BY + SessionsTable.TABLE_NAME + '.' + SessionsTable.USER_UUID + ',' + SessionsTable.SESSION_END +
|
||||
GROUP_BY + SessionsTable.TABLE_NAME + '.' + SessionsTable.USER_UUID +
|
||||
ORDER_BY + SessionsTable.SESSION_END + " DESC LIMIT ?";
|
||||
|
||||
String sql = SELECT +
|
||||
|
Loading…
Reference in New Issue
Block a user