Ignore:
Timestamp:
20/06/12 10:53:00 (8 years ago)
Author:
mnagni
Message:

The _packResult "missed" the first result
The view built a wrong hostURL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/HPFos/trunk/src/HPFos/osImpl/myimpl.py

    r8355 r8360  
    239239        super(MyOSQuery, self).__init__(params) 
    240240 
    241     def _packResult(self, results, id = None, **kwargs): 
     241    def _packResult(self, results, **kwargs): 
    242242        subresults = [] 
    243243 
    244244        step = calculateStep(**kwargs) 
    245245 
    246         startIndex = self.indexOffset 
     246        startIndex = self.indexOffset - 1 
    247247        if kwargs['params_values'].has_key('startIndex'): 
    248248            if int(kwargs['params_values']['startIndex']) < len(results): 
Note: See TracChangeset for help on using the changeset viewer.