Changes for page Per Year

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