Skip to content

Commit

Permalink
Inverse la pagination (fix #3153)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-24 committed Nov 9, 2015
1 parent d5f3123 commit f4fca9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/tutorialv2/views/views_published.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_context_data(self, **kwargs):
all_articles = \
[a for a in PublishedContent.objects
.filter(content_type="ARTICLE", must_redirect=False)
.order_by('-publication_date')
.order_by('publication_date')
.all()]
articles_count = len(all_articles)

Expand Down

0 comments on commit f4fca9a

Please sign in to comment.