Browse files

Fix rider data shown in series rankings

We were accidentally showing the rider data from the event in which the rider
has last started instead of the event in which the rider has last scored (and
for which the rider is last mentioned in the series rankings).  This can be
very confusing, so fix it.
  • Loading branch information...
Andreas Gruenbacher
Andreas Gruenbacher committed Dec 29, 2018
1 parent b6f1bbd commit 3c86d08d2603b485c4e3066bba80c953c230b1a9
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/
@@ -341,7 +341,11 @@ sub jahreswertung(@) {
push @{$jahreswertung->{$klasse}{$startnummer}{wertungsrang}},
$fahrer->{wertungen}[$wertung - 1]{rang};
$alle_fahrer->{$startnummer} = $fahrer;
# Es interessieren uns die Fahrerdaten der letzten Veranstaltung,
# bei der der Fahrer Punkte gemacht hat.
if ($fahrer->{wertungen}[$wertung - 1]{punkte}) {
$alle_fahrer->{$startnummer} = $fahrer;

0 comments on commit 3c86d08

Please sign in to comment.