changeset 403:a4ad4020ef6a

*** empty log message ***
author abukhman
date Tue, 09 Nov 2010 13:52:02 +0100
parents d3bd3c2674ee
children 29a87dc92750
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Tue Nov 09 13:50:06 2010 +0100
+++ b/MpdlXmlTextServer.py	Tue Nov 09 13:52:02 2010 +0100
@@ -391,7 +391,7 @@
          logging.debug("documentViewer (pagedom) pagedom: %s"%(pagedom))
          numdivs = pagedom.xpath("//div[@class='queryResultHits']")
          tocSearch = int(getTextFromNode(numdivs[0]))  
-         tc=int((tocSearch/10)+1)  
+         tc=int((tocSearch/30)+1)  
          return tc 
 
     def getQueryResultHitsFigures(self,  docinfo=None, pageinfo=None):      
@@ -411,7 +411,7 @@
          logging.debug("documentViewer (pagedom) pagedom: %s"%(pagedom))
          numdivs = pagedom.xpath("//div[@class='queryResultHits']")
          tocSearch = int(getTextFromNode(numdivs[0]))  
-         tc=int((tocSearch/10)+1)  
+         tc=int((tocSearch/30)+1)  
          return tc