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>

(Cherry-picked from e82e30d215)
This commit is contained in:
Tormod Volden 2020-04-17 23:10:28 +02:00 committed by Ian McInerney
parent fd49bc5d8d
commit 1797a9c61a
1 changed files with 1 additions and 1 deletions

View File

@ -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 -->