Make insertion_order_by support DESC ordering #170

Closed
craigds opened this Issue Feb 6, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

craigds commented Feb 6, 2012

It'd be helpful to be able to do this:

order_insertion_by = ['-created_at']

At present order_insertion_by uses field names as is, so it won't understand that the '-' means DESC ordering.

This current behaviour is particularly annoying since the ordering can't currently be reversed at runtime when using recursive tags, because {{ children }} is a variable not a tag. ( #167 )

@craigds craigds closed this in 0fc0dff Aug 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment