[library-web/new-website-style: 18/55] correct sorting of developer sections



commit 2024cb28ad0d4e193054b64b10cd949acec3601a
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun Dec 5 12:00:15 2010 +0100

    correct sorting of developer sections

 data/xslt/indexes.xsl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/xslt/indexes.xsl b/data/xslt/indexes.xsl
index 6f5dca0..2f1beb0 100644
--- a/data/xslt/indexes.xsl
+++ b/data/xslt/indexes.xsl
@@ -500,6 +500,7 @@ doctype-system="http://www.w3.org/TR/html4/loose.dtd";>
 
   <ul class="indextoc">
    <xsl:for-each select="section">
+     <xsl:sort select="format-number(@weight, '0.000')" order="descending"/>
      <li>
       <a href="#{ toc_id}"><xsl:call-template name="gettext"><xsl:with-param name="lang"
         select="$lang"/><xsl:with-param name="msgid"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]