Fixed the session summary query

This commit is contained in:
Risto Lahtela 2021-02-03 21:21:09 +02:00
parent 97e22bbf17
commit 0b3fb94509
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -321,7 +321,7 @@ function displayResultPath(json) {
for (let j = 0; j < i * 4; j++) {
pathHtml += "&nbsp;";
}
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', () => {