From 3a974e636ad9371383e774a3604a93728c82e50e Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Mon, 2 Dec 2024 14:55:07 +0100 Subject: [PATCH] Fix scoreX for swiss --- view-webapp/src/main/webapp/tour-standings.inc.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/view-webapp/src/main/webapp/tour-standings.inc.html b/view-webapp/src/main/webapp/tour-standings.inc.html index da6b799..c41eb95 100644 --- a/view-webapp/src/main/webapp/tour-standings.inc.html +++ b/view-webapp/src/main/webapp/tour-standings.inc.html @@ -64,7 +64,7 @@ #foreach($crit in $tour.pairing.placement) #set($junk = $criteres.add($crit)) #end -#if($criteres[0] == 'SCOREX') +#if($criteres[0] == 'SCOREX' && $tour.pairing.type == 'MAC_MAHON') #set($junk = $criteres.add(1, 'MMS')) #end #foreach($crit in $criteres) @@ -96,7 +96,10 @@ #end $rst #end + $log.info("@@@@@ part = $part") + $log.info("@@@@@ crit = $criteres") #foreach($crit in $criteres) + $log.info("@@@@@ $crit found ? $part.containsKey($crit)") #set($value = "$number.format('0.#', $part[$crit])") $value.replace('.5', '½') #end