forked from D-Net/dnet-hadoop
added missing constraint in XQuery (verify the status of the RC/RI different from hidden)
This commit is contained in:
parent
8f48cb29f4
commit
f439a6231e
|
@ -19,7 +19,7 @@ public class QueryInformationSystem {
|
||||||
+ " let $communities := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::zenodocommunities')]/concept "
|
+ " let $communities := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::zenodocommunities')]/concept "
|
||||||
+
|
+
|
||||||
"let $zenodo := $x//param[./@name='zenodoCommunity']/text() "
|
"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 "
|
+ " return "
|
||||||
+ " <community> "
|
+ " <community> "
|
||||||
+ " { $x//CONFIGURATION/context/@id} "
|
+ " { $x//CONFIGURATION/context/@id} "
|
||||||
|
|
Loading…
Reference in New Issue