- filtering by groups fixed

This commit is contained in:
Wiesner András 2024-09-26 17:07:55 +02:00
parent 9282b818d2
commit a44c34d3a0

View File

@ -512,7 +512,12 @@ function get_results_by_gameid(ReqHandler &$rh, array $params): array
}
// execute filtering
$game_results = null;
if ($group_filter !== []) {
$game_results = $testMgr->getResultsByGameId($gameid, $filter, $ordering, true, $group_filter);
} else {
$game_results = $testMgr->getResultsByGameId($gameid, $filter, $ordering, true);
}
$result = $game_results;
}