Changes for page Per Year

From version 74.1
edited by Andrea Omicini
on 29/10/2021 15:30
Change comment: There is no comment for this version
To version 70.1
edited by Andrea Omicini
on 29/10/2021 15:21
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 = $request.year )$yearPar
7 -#set( $fromPar = $request.from )$fromPar
8 -#set( $toPar = $request.to )$toPar
6 +#set( $yearPar = $mathtool.toInteger("$!$request.year") )
7 +#set( $fromPar = $mathtool.toInteger("$!$request.from") )
8 +#set( $toPar = $mathtool.toInteger("$!$request.to") )
9 9  #set( $firstYear = $firstYearTh )
10 10  #set( $lastYear = $lastYearTh )
11 11  #set( $yearList = [$lastYear..$firstYear] )
... ... @@ -34,6 +34,8 @@
34 34  $lastYear
35 35  $yearList
36 36  #stop
37 +
38 +STOP
37 37  ##check velocity variable, takes precedence
38 38  #if( $thesisStatus && $thesisStatus != '' && $allThesisStatuses.contains($thesisStatus.trim().toLowerCase()) )
39 39   #set( $oneStatus = true )