Changeset 370:33adbe140534 in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Oct 25, 2010, 10:23:25 AM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r369 r370  
    213213        else:
    214214            textmode = mode
    215         logging.debug("documentViewer highlightQuery: %s"%(highlightQuery))
     215        #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery))
    216216        textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization)
    217         #if highlightQuery is not None:
    218         #    textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn)           
    219        
     217        if highlightQuery is not None:
     218            textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn)           
     219            logging.debug("documentViewer highlightQuery: %s"%(highlightQuery))
    220220        pagexml = self.getServerData("page-fragment.xql",textParam)
    221221        #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)
Note: See TracChangeset for help on using the changeset viewer.