Author: floguy
Date: Sun Sep 21 01:21:24 2008
New Revision: 27
Modified:
trunk/things/templatetags/things_tags.py
Log:
Added the 'descending' property to the context of the display_ordering
template tag.
Modified: trunk/things/templatetags/things_tags.py
==============================================================================
--- trunk/things/templatetags/things_tags.py (original)
+++ trunk/things/templatetags/things_tags.py Sun Sep 21 01:21:24 2008
@@ -14,7 +14,8 @@
register.simple_tag(item_url)
def display_ordering(context):
- return {'fields': context['fields'], 'field': context['field']}
+ return {'fields': context['fields'], 'field': context['field'],
+ 'descending': descending}
register.inclusion_tag('things/ordering.html',
takes_context=True)(display_ordering)
def display_search(context):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---