mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-13 17:38:03 +08:00
Fixed the session summary query
This commit is contained in:
parent
97e22bbf17
commit
0b3fb94509
@ -859,7 +859,7 @@ public class SessionQueries {
|
||||
@Override
|
||||
public Map<String, Long> processResults(ResultSet set) throws SQLException {
|
||||
if (set.next()) {
|
||||
long sessionCount = set.getLong("total_sessions");
|
||||
long sessionCount = set.getLong("session_count");
|
||||
long playtime = set.getLong("playtime");
|
||||
long activePlaytime = set.getLong("active_playtime");
|
||||
int playerCount = playerUUIDs.size();
|
||||
|
@ -321,7 +321,7 @@ function displayResultPath(json) {
|
||||
for (let j = 0; j < i * 4; j++) {
|
||||
pathHtml += " ";
|
||||
}
|
||||
pathHtml += `<i class="fa fa-fw fa-filter"></i> ${getReadableFilterName(step.kind)} matched ${step.size} players</p>`
|
||||
pathHtml += `<i class="fa fa-fw fa-filter"></i> ${getReadableFilterName(step)} matched ${step.size} players</p>`
|
||||
}
|
||||
|
||||
insertElementBefore('.tab .row .card', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user