Show More
@@ -2411,13 +2411,13 b' class baseset(abstractsmartset):' | |||
|
2411 | 2411 | """Returns True if the collection is ascending order, False if not. |
|
2412 | 2412 | |
|
2413 | 2413 | This is part of the mandatory API for smartset.""" |
|
2414 | return False | |
|
2414 | return self._ascending is not None and self._ascending | |
|
2415 | 2415 | |
|
2416 | 2416 | def isdescending(self): |
|
2417 | 2417 | """Returns True if the collection is descending order, False if not. |
|
2418 | 2418 | |
|
2419 | 2419 | This is part of the mandatory API for smartset.""" |
|
2420 | return False | |
|
2420 | return self._ascending is not None and not self._ascending | |
|
2421 | 2421 | |
|
2422 | 2422 | def first(self): |
|
2423 | 2423 | if self: |
General Comments 0
You need to be logged in to leave comments.
Login now