document list ordered by title

Closes #3882
This commit is contained in:
Serghei Mihai 2013-10-24 17:10:19 +02:00
parent 38ca8711db
commit 33206b37d7
No known key found for this signature in database
GPG Key ID: 76D1C964BF2FA1AF
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class View(BrowserView):
if not self.context.related_docs:
return []
objects = [x.to_object for x in self.context.related_docs]
return sorted(objects, lambda x,y: cmp(x.reftitle, y.reftitle))
return sorted(objects, lambda x,y: cmp(x.title, y.title))
class DocumentDownload(BrowserView):
def __call__(self):