diff documentViewer.py @ 536:abd36d4d97b8

new version of index page. improvements for digilib page and thumbnail overview.
author casties
date Thu, 26 Jul 2012 21:22:56 +0200
parents 510bae2b593b
children dbf25bd05fc6
line wrap: on
line diff
--- a/documentViewer.py	Thu Jul 26 19:32:31 2012 +0200
+++ b/documentViewer.py	Thu Jul 26 21:22:56 2012 +0200
@@ -685,9 +685,9 @@
         docinfo['bibType'] = bibtype
         # also store DC metadata for convenience
         dc = self.metadataService.getDCMappedData(bib)
-        docinfo['creator'] = dc.get('creator',None)
-        docinfo['title'] = dc.get('title',None)
-        docinfo['date'] = dc.get('date',None)
+        docinfo['creator'] = dc.get('creator','')
+        docinfo['title'] = dc.get('title','')
+        docinfo['date'] = dc.get('date','')
         return docinfo
             
     def getDocinfoFromAccess(self, docinfo, acc):