Changes for page All Journals & Series

From version 5.2
edited by Andrea Omicini
on 12/03/2022 14:47
Change comment: There is no comment for this version
To version 5.1
edited by Andrea Omicini
on 19/11/2021 18:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Content
... ... @@ -1,10 +1,10 @@
1 -= {{stringEngIta eng="All Journals & Series" ita="Tutte le riviste e le collane"/}} =
1 +={{stringEngIta eng="All Journals & Series in " ita="Tutte le riviste e le collane in "/}}{{apice/}}=
2 2  
3 3  {{velocity}}
4 -#set( $sql = ", BaseObject as obj, StringProperty as prop where obj.name = doc.fullName and obj.className = 'Journals.JournalClass' and obj.name <> 'Journals.JournalTemplate' and prop.id.id = obj.id and prop.name = 'acronym' order by prop.value asc" )
4 +#set( $sql = ", BaseObject as obj, StringProperty as prop where obj.name = doc.fullName and obj.className = 'Journals.JournalClass' and obj.name <> 'Journals.JournalClassTemplate' and obj.name <> 'Journals.JournalTemplate' and prop.id.id = obj.id and prop.name = 'acronym' order by prop.value asc" )
5 5  #set( $journals = $xwiki.searchDocuments($sql) )
6 6  #set( $journalNo = $journals.size() )
7 ->**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}}
7 +>**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}} in {{apice /}}
8 8  
9 9  #foreach( $journal in $journals )
10 10  #if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end