Changes for page Per Year

From version 73.1
edited by Andrea Omicini
on 29/10/2021 15:27
Change comment: There is no comment for this version
To version 72.1
edited by Andrea Omicini
on 29/10/2021 15:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,9 +3,9 @@
3 3  #set( $oneYear = false )
4 4  ### START YEAR
5 5  ## year parameter
6 -#set( $yearPar = $mathtool.toInteger($request.year) )$yearPar
7 -#set( $fromPar = $mathtool.toInteger($request.from) )$fromPar
8 -#set( $toPar = $mathtool.toInteger($request.to) )$toPar
6 +#set( $yearPar = $mathtool.toInteger("$!$request.year") )$yearPar
7 +#set( $fromPar = $mathtool.toInteger("$!$request.from") )$fromPar
8 +#set( $toPar = $mathtool.toInteger("$!$request.to") )$toPar
9 9  #set( $firstYear = $firstYearTh )
10 10  #set( $lastYear = $lastYearTh )
11 11  #set( $yearList = [$lastYear..$firstYear] )