Mercurial > hg > documentViewer
changeset 341:602408d7b035
*** empty log message ***
author | abukhman |
---|---|
date | Mon, 18 Oct 2010 12:15:40 +0200 |
parents | 6b07f4a0bf34 |
children | 259660db1921 |
files | documentViewer.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/documentViewer.py Mon Oct 18 12:14:08 2010 +0200 +++ b/documentViewer.py Mon Oct 18 12:15:40 2010 +0200 @@ -268,7 +268,7 @@ @param querySearch: type of different search modes (fulltext, fulltextMorph, xpath, xquery, ftIndex, ftIndexMorph, fulltextMorphLemma) ''' - logging.debug("documentViewer (index) mode: %s url:%s start:%s pn:%s"%(mode,url,start,pn)) + logging.debug("documentViewer (index) mode: %s url:%s start:%s pn:%s"%(mode,url,start,pn,originalPage)) if not hasattr(self, 'template'): # this won't work @@ -743,7 +743,7 @@ raise ValueError("Unknown mode %s! Has to be one of 'texttool','imagepath','filepath'."%(mode)) logging.debug("documentViewer (getdocinfo) docinfo: %s"%docinfo) - logging.debug("originalPage: %s"%originalPage) + self.REQUEST.SESSION['docinfo'] = docinfo return docinfo @@ -785,7 +785,7 @@ toc = int (pageinfo['tocPN']) pageinfo['textPages'] =int (toc) - + logging.debug("originalPage: %s"%originalPage) if 'tocSize_%s'%tocMode in docinfo: tocSize = int(docinfo['tocSize_%s'%tocMode])