Skip to content
Permalink
Browse files
Allow True value for reverse (for shortcodes)
Closes #3082

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 9, 2018
1 parent daa0cd0 commit 2cb25fb0c183f1ee1dfa51ac25383111cfa0a0eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/shortcode/post_list.py
@@ -154,7 +154,7 @@ def handler(self, start=None, stop=None, reverse=False, tags=None, require_all_t

filtered_timeline = []
posts = []
step = -1 if reverse is None else None
step = None if reverse is False else -1

if type is not False:
post_type = type

0 comments on commit 2cb25fb

Please sign in to comment.