Created
August 27, 2011 09:27
-
-
Save rochacbruno/1175185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#line 319 | |
if current_orderby: | |
if current_orderby.op == current_orderby.db._adapter.INVERT: | |
self.current_field =current_orderby.first | |
self.next_orderby = self.current_field | |
self.current_class = 'orderby-desc' | |
else: | |
self.current_field = current_orderby | |
self.next_orderby = ~self.current_field | |
self.current_class = 'orderby-asc' | |
else: | |
self.current_field = current_orderby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment