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

gus at torproject.org gus at torproject.org
Wed Jun 23 18:59:52 UTC 2021


commit 5689832aea6b6d1383621c2a81e56734bb8277a9
Author: kez <kez at torproject.org>
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>





More information about the tor-commits mailing list