aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-13 21:25:36 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-13 21:25:36 +0000
commit89134371188781298679c98fe0cc4da86a0c8b36 (patch)
treeb79f5feb2f0c5b1ce44275b3ef2fed811f02906f /tmpl
parent23a41e0e089b65cf2223a846abc545a649c3efb1 (diff)
downloadmgaadvisories-89134371188781298679c98fe0cc4da86a0c8b36.tar
mgaadvisories-89134371188781298679c98fe0cc4da86a0c8b36.tar.gz
mgaadvisories-89134371188781298679c98fe0cc4da86a0c8b36.tar.bz2
mgaadvisories-89134371188781298679c98fe0cc4da86a0c8b36.tar.xz
mgaadvisories-89134371188781298679c98fe0cc4da86a0c8b36.zip
Sort advisories by publish time and ID
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/advisories.html2
-rw-r--r--tmpl/by_cve.html2
-rw-r--r--tmpl/by_rel.html2
-rw-r--r--tmpl/by_src.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/advisories.html b/tmpl/advisories.html
index 513672a..7daaeb3 100644
--- a/tmpl/advisories.html
+++ b/tmpl/advisories.html
@@ -7,6 +7,6 @@
<body>
<h1>Mageia Advisories</h1>
- [% INCLUDE advisories_table.html advlst = advdb.advisories.keys.sort.reverse %]
+ [% INCLUDE advisories_table.html advlst = advdb.sorted %]
</body>
</html>
diff --git a/tmpl/by_cve.html b/tmpl/by_cve.html
index 788f19a..bd4aedd 100644
--- a/tmpl/by_cve.html
+++ b/tmpl/by_cve.html
@@ -7,6 +7,6 @@
<body>
<h1><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% CVE %]">[% CVE %]</a></h1>
- [% INCLUDE advisories_table.html advlst = advdb.by_cve.$CVE.sort.reverse %]
+ [% INCLUDE advisories_table.html advlst = advdb.by_cve.$CVE %]
</body>
</html>
diff --git a/tmpl/by_rel.html b/tmpl/by_rel.html
index f3729e3..ac7dc82 100644
--- a/tmpl/by_rel.html
+++ b/tmpl/by_rel.html
@@ -7,6 +7,6 @@
<body>
<h1>Mageia [% rel %] Advisories</h1>
- [% INCLUDE advisories_table.html advlst = advdb.by_rel.$rel.sort.reverse %]
+ [% INCLUDE advisories_table.html advlst = advdb.by_rel.$rel %]
</body>
</html>
diff --git a/tmpl/by_src.html b/tmpl/by_src.html
index a792c81..4e58347 100644
--- a/tmpl/by_src.html
+++ b/tmpl/by_src.html
@@ -7,6 +7,6 @@
<body>
<h1>Mageia advisories for package [% src %]</h1>
- [% INCLUDE advisories_table.html advlst = advdb.by_src.$src.sort.reverse %]
+ [% INCLUDE advisories_table.html advlst = advdb.by_src.$src %]
</body>
</html>