Skip to content

Commit

Permalink
#26 fix/improve import-feature to recognize alhanumerical cathegories
Browse files Browse the repository at this point in the history
  • Loading branch information
luechtdiode committed Feb 25, 2018
1 parent 3749772 commit 40745a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/scala/ch/seidel/kutu/view/WettkampfWertungTab.scala
Original file line number Diff line number Diff line change
Expand Up @@ -968,9 +968,12 @@ class WettkampfWertungTab(wettkampfmode: BooleanProperty, programm: Option[Progr
}
catch {
case d: Exception =>
progrm match {
programms.filter(pgm => pgm.name.equalsIgnoreCase(fields(3))).headOption match {
case Some(p) => p.id
case None => 0L
case _ => progrm match {
case Some(p) => p.id
case None => 0L
}
}
}
(progId, parsed, AthletView(
Expand Down

0 comments on commit 40745a4

Please sign in to comment.