]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/archive_main.html
Fix sorting in archive view
[pcdenotes.git] / notes / templates / archive_main.html
index 2b1771176163b40c8f60b6670a7e3d2d20cdc848..1cf6a28ebc1eda57a4f1a094b6bf67e9789be45b 100644 (file)
@@ -8,7 +8,7 @@
 {% if years %}
 <ul>
   {% for year in years %}
 {% if years %}
 <ul>
   {% for year in years %}
-    <li><a href="{{ year.created_year }}/">{{ year.created_year }}</a> ({{ year.total }})</li>
+    <li><a href="{{ year.published_year }}/">{{ year.published_year }}</a> ({{ year.total }})</li>
   {% endfor %}
 </ul>
 {% else %}
   {% endfor %}
 </ul>
 {% else %}

patrick-canterino.de