mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Added group by to top_x_... placeholder queries
Affects issues: - Fixed #2191
This commit is contained in:
parent
686d4ef862
commit
13fc7adbdd
@ -44,6 +44,7 @@ public class TopListQueries {
|
||||
AND + SessionsTable.SESSION_START + ">?" +
|
||||
AND + SessionsTable.SESSION_END + "<?" +
|
||||
ORDER_BY + "playtime DESC" +
|
||||
GROUP_BY + "name" +
|
||||
LIMIT + "10" +
|
||||
OFFSET + "?";
|
||||
|
||||
@ -76,6 +77,7 @@ public class TopListQueries {
|
||||
AND + SessionsTable.SESSION_START + ">?" +
|
||||
AND + SessionsTable.SESSION_END + "<?" +
|
||||
ORDER_BY + "active_playtime DESC" +
|
||||
GROUP_BY + "name" +
|
||||
LIMIT + "10" +
|
||||
OFFSET + "?";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user