Skip to content

Commit

Permalink
Associated resource / Make distinction between remote record and loca…
Browse files Browse the repository at this point in the history
…l one

It was reporting twice the feature catalogue due to the added origin attribute

```xml
<metadata origin="portal"><gfc:FC_FeatureCatalogue
```
  • Loading branch information
fxprunayre authored and cmangeat committed Nov 28, 2023
1 parent ae9ce88 commit 66877c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/main/webapp/xslt/services/metadata/relation.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<xsl:template mode="relation" match="fcats">
<xsl:if test="count(response/*) > 0">
<fcats>
<xsl:for-each select="response/metadata[@origin]">
<xsl:for-each select="response/metadata[not(gfc:FC_FeatureCatalogue)]">
<item>
<id><xsl:value-of select="id"/></id>
<uuid><xsl:value-of select="uuid"/></uuid>
Expand Down

0 comments on commit 66877c0

Please sign in to comment.