1
0
Fork 0

added missing constraint in XQuery (verify the status of the RC/RI different from hidden)

This commit is contained in:
Miriam Baglioni 2020-08-13 15:30:55 +02:00
parent 8f48cb29f4
commit f439a6231e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class QueryInformationSystem {
+ " let $communities := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::zenodocommunities')]/concept "
+
"let $zenodo := $x//param[./@name='zenodoCommunity']/text() "
+ " where $x//CONFIGURATION/context[./@type='community' or ./@type='ri'] "
+ " where $x//CONFIGURATION/context[./@type='community' or ./@type='ri'] and $x//context/param[./@name = 'status']/text() != 'hidden' "
+ " return "
+ " <community> "
+ " { $x//CONFIGURATION/context/@id} "