| changeset 114 | 93b45b4f423c |
| parent 113 | c05567404888 |
| child 126 | a345f1a67bf1 |
--- a/src/p4l/models/data.py Fri Sep 20 22:21:48 2013 +0200 +++ b/src/p4l/models/data.py Sat Sep 21 23:49:04 2013 +0200 @@ -177,6 +177,9 @@ def get_authors(self): return [a.name for a in self.authors.all()] + def get_corporate_authors(self): + return [c.uri for c in self.corporateAuthors.all()] + def get_imprints_years(self): return sorted(set([i.imprintDate for i in self.imprints.all() if i.imprintDate]))