Revision 41020
Added by Katerina Iatropoulou almost 9 years ago
modules/uoa-search/trunk/src/main/java/eu/dnetlib/data/search/web/api/QueryEnhancer.java | ||
---|---|---|
335 | 335 |
String[] participantCountries = request.getParameterValues("participantCountries"); |
336 | 336 |
String participantAcronyms = request.getParameter("participantAcronyms"); |
337 | 337 |
String openaireParticipantID = request.getParameter("openaireParticipantID"); |
338 |
String openaireProjectID = request.getParameter("openaireParticipantID"); |
|
338 | 339 |
|
339 | 340 |
|
340 | 341 |
if(participantCountries != null) { |
... | ... | |
347 | 348 |
addEqualQueryTerm("relorganizationid", openaireParticipantID, queryBuilder); |
348 | 349 |
} |
349 | 350 |
|
351 |
if(openaireProjectID != null) { |
|
352 |
addExactQueryTerm("objIdentifier", openaireProjectID, queryBuilder); |
|
353 |
} |
|
354 |
|
|
350 | 355 |
} |
351 | 356 |
|
352 | 357 |
public static void enhanceQueryWithSC39Params(StringBuilder queryBuilder, HttpServletRequest request) { |
modules/uoa-search/trunk/src/main/resources/project.xsl | ||
---|---|---|
15 | 15 |
<result type ="result"> |
16 | 16 |
<xsl:apply-templates select="//header"/> |
17 | 17 |
<xsl:apply-templates select="//oaf:project"/> |
18 |
<!-- |
|
19 |
<xsl:apply-templates select="//rel"/> |
|
20 |
<xsl:apply-templates select="//funding[parent[not(node())]] "/ |
|
21 |
|
|
18 |
<!-- <xsl:apply-templates select="//rel"/> |
|
19 |
<xsl:apply-templates select="//funding[parent[not(node())]] "/--> |
|
22 | 20 |
<xsl:apply-templates select="//funding_level_2"/> |
23 | 21 |
<xsl:apply-templates select="//funding_level_1"/> |
24 | 22 |
<xsl:apply-templates select="//funding_level_0"/> |
25 |
|
|
26 |
<xsl:apply-templates select="//funder"/> --> |
|
23 |
<xsl:apply-templates select="//funder"/> |
|
27 | 24 |
</result> |
28 | 25 |
</xsl:template> |
29 | 26 |
|
Also available in: Unified diff
uncommented funding tree information in project - related to #1835