Mercurial > hg > documentViewer
changeset 369:dc71a34f96a7
*** empty log message ***
author | abukhman |
---|---|
date | Mon, 25 Oct 2010 12:22:15 +0200 |
parents | ece96864632c |
children | 33adbe140534 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Mon Oct 25 12:20:28 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:22:15 2010 +0200 @@ -214,8 +214,8 @@ textmode = mode logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) - if highlightQuery is not None: - textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) + #if highlightQuery is not None: + # textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)