From 33206b37d7aaa010f327086cc0c121c27947ddae Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Thu, 24 Oct 2013 17:10:19 +0200 Subject: [PATCH] document list ordered by title Closes #3882 --- tabellio/pfbviews/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabellio/pfbviews/document.py b/tabellio/pfbviews/document.py index 7d93488..1338e63 100644 --- a/tabellio/pfbviews/document.py +++ b/tabellio/pfbviews/document.py @@ -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):