changeset 382:1507f111fe05

*** empty log message ***
author abukhman
date Tue, 26 Oct 2010 16:37:10 +0200
parents 796108c49ba0
children a7a5a26dccb4
files documentViewer.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Mon Oct 25 14:50:50 2010 +0200
+++ b/documentViewer.py	Tue Oct 26 16:37:10 2010 +0200
@@ -772,12 +772,12 @@
         pageinfo['viewMode'] = viewMode
         pageinfo['tocMode'] = tocMode
         #pageinfo ['originalPage'] = self.getOrigPages(docinfo=None, pageinfo=None)
-        pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization',' ')
-        pageinfo['query'] = self.REQUEST.get('query',' ')
-        pageinfo['queryType'] = self.REQUEST.get('queryType',' ')
+        pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization',None)
+        pageinfo['query'] = self.REQUEST.get('query',None)
+        pageinfo['queryType'] = self.REQUEST.get('queryType',None)
         pageinfo['querySearch'] =self.REQUEST.get('querySearch', 'fulltext')
         pageinfo['textPN'] = self.REQUEST.get('textPN','1')
-        pageinfo['highlightQuery'] = self.REQUEST.get('highlightQuery','')
+        pageinfo['highlightQuery'] = self.REQUEST.get('highlightQuery',None)
         pageinfo['tocPageSize'] = self.REQUEST.get('tocPageSize', '30')
         pageinfo['queryPageSize'] =self.REQUEST.get('queryPageSize', '10')
         pageinfo['tocPN'] = self.REQUEST.get('tocPN', '1')