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

[tor-commits] [tpo/master] Order past sponsors by first donation year, descending



commit 5689832aea6b6d1383621c2a81e56734bb8277a9
Author: kez <kez@xxxxxxxxxxxxxx>
Date:   Fri Jun 18 10:20:10 2021 -0400

    Order past sponsors by first donation year, descending
---
 templates/sponsors.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/sponsors.html b/templates/sponsors.html
index b67432de..04a39af6 100644
--- a/templates/sponsors.html
+++ b/templates/sponsors.html
@@ -21,7 +21,7 @@
   <div class="col-12">
     <ul class="jobs-ul">
       {% set items = site.query('/about/sponsors').include_undiscoverable(true).filter(F.active == False) %}
-      {% for item in items %}
+      {% for item in items.order_by('-time') %}
         <li><a href="{{ item.link}}">{{ item.name }}</a> - <span> {{ item.time }}</span></li>
       {% endfor %}
     </ul>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits