aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 23:31:14 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 23:31:14 +0200
commit153724fc133f461dd800e4af2e591752489204b5 (patch)
tree6f283d389a89856ad57b988c7b0713047ef23fa5 /pyaggr3g470r/templates/home.html
parentfixed bug in /articles page. (diff)
downloadnewspipe-153724fc133f461dd800e4af2e591752489204b5.tar.gz
newspipe-153724fc133f461dd800e4af2e591752489204b5.tar.bz2
newspipe-153724fc133f461dd800e4af2e591752489204b5.zip
Trying to sort articles (SortedListField(ReferenceField('Article')).
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index aa390d2d..0344263f 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -8,7 +8,7 @@
<a href="/articles/{{ feed.id }}"><i class="glyphicon glyphicon-th-list"></i></a>
</div>
</div>
- {% for number in range(0, feed.articles|sort(attribute='date')|length-2, 3) %}
+ {% for number in range(0, feed.articles|length-2, 3) %}
<div class="row">
{% for n in range(number, number+3) %}
<div class="col-xs-6 col-sm-4 col-md-4">
bgstack15