bom2grouped_csv.xsl: Fix sorting of grouped references
Commit a96ebe8f
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>
This commit is contained in:
parent
18ab3c4714
commit
e82e30d215
|
@ -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