bom2grouped_csv.xsl: Fix sorting of grouped references
Commita96ebe8f
seems to have missed a dollar sign. Fixes https://gitlab.com/kicad/code/kicad/-/issues/940 hopefully for good this time. Signed-off-by: Tormod Volden <debian.tormod@gmail.com> (Cherry-picked frome82e30d215
)
This commit is contained in:
parent
fd49bc5d8d
commit
1797a9c61a
|
@ -64,7 +64,7 @@
|
||||||
<!-- list of all references -->
|
<!-- list of all references -->
|
||||||
<xsl:for-each select="key('partTypeByValueAndFootprint', concat(footprint, '-', value))">
|
<xsl:for-each select="key('partTypeByValueAndFootprint', concat(footprint, '-', value))">
|
||||||
<!-- strip non-digits from reference and sort based on remaining number -->
|
<!-- strip non-digits from reference and sort based on remaining number -->
|
||||||
<xsl:sort select="translate(@ref, translate(@ref, digits, ''), '')" data-type="number" />
|
<xsl:sort select="translate(@ref, translate(@ref, $digits, ''), '')" data-type="number" />
|
||||||
<xsl:value-of select="@ref"/><xsl:text> </xsl:text>
|
<xsl:value-of select="@ref"/><xsl:text> </xsl:text>
|
||||||
</xsl:for-each><xsl:text>,</xsl:text>
|
</xsl:for-each><xsl:text>,</xsl:text>
|
||||||
<!-- quantity of parts with same footprint and value -->
|
<!-- quantity of parts with same footprint and value -->
|
||||||
|
|
Loading…
Reference in New Issue