Changeset 509:9d05befdd462 in documentViewer for documentViewer.py


Ignore:
Timestamp:
Feb 27, 2012, 8:57:18 PM (12 years ago)
Author:
casties
Branch:
elementtree
Message:

try to get characterNormalization in search result working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r508 r509  
    733733        # TODO: do we need this here?
    734734        pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization','reg')
    735         pageinfo['query'] = self.REQUEST.get('query','')
    736         pageinfo['queryType'] = self.REQUEST.get('queryType','')
    737         pageinfo['querySearch'] =self.REQUEST.get('querySearch', 'fulltext')
    738         pageinfo['highlightQuery'] = self.REQUEST.get('highlightQuery','')
    739735        pageinfo['tocPageSize'] = getInt(self.REQUEST.get('tocPageSize', 30))
    740         pageinfo['queryPageSize'] = getInt(self.REQUEST.get('queryPageSize', 10))
     736        pageinfo['resultPageSize'] = getInt(self.REQUEST.get('resultPageSize', 10))
    741737        pageinfo['tocPN'] = getInt(self.REQUEST.get('tocPN', '1'))
    742         pageinfo['searchPN'] = getInt(self.REQUEST.get('searchPN','1'))
    743        
    744         # limit tocPN
     738        pageinfo['resultPN'] = getInt(self.REQUEST.get('resultPN','1'))
     739       
     740        # limit tocPN TODO: do we need this?
    745741        if 'tocSize_%s'%tocMode in docinfo:
    746742            tocSize = docinfo['tocSize_%s'%tocMode]
Note: See TracChangeset for help on using the changeset viewer.