Skip to content

Commit

Permalink
MIR-1260 Removed parameter 'returnId' as it is not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Feb 23, 2024
1 parent a1042cf commit 922bb75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions mir-module/src/main/resources/xsl/mir-utils.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<xsl:param name="baseURL"/>
<xsl:param name="mimeType"/>
<xsl:param name="derivateMaindoc"/>
<xsl:param name="returnId"/>

<xsl:choose>
<xsl:when test="$mimeType='application/pdf' or
Expand Down Expand Up @@ -103,7 +102,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="string-length($derivateMaindoc) &gt; 0 and string-length($returnId) &gt; 0">
<xsl:when test="string-length($derivateMaindoc) &gt; 0">
<xsl:variable name="ext"
select="document(concat('callJava:org.apache.commons.io.FilenameUtils:getExtension:', $derivateMaindoc))"/>
<xsl:value-of
Expand Down
1 change: 0 additions & 1 deletion mir-module/src/main/resources/xsl/response-mir.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@
<xsl:with-param name="baseURL" select="$WebApplicationBaseURL"/>
<xsl:with-param name="mimeType" select="$contentType"/>
<xsl:with-param name="derivateMaindoc" select="$displayDerivate/str[@name='derivateMaindoc']"/>
<xsl:with-param name="returnId" select="$displayDerivate/str[@name='returnId']"/>
</xsl:call-template>
</xsl:variable>
<img class="hit_icon_overlay" src="{$iconLink}"/>
Expand Down

0 comments on commit 922bb75

Please sign in to comment.