Changeset 2762 for TI05-delivery


Ignore:
Timestamp:
03/08/07 12:28:51 (12 years ago)
Author:
lawrence
Message:

Fix for ticket:834

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/DiscoveryState.py

    r2750 r2762  
    4848        self.constraintsInstance=constraints 
    4949        self.constraints=str(constraints) # some text to show constraints on search 
    50         self.constrainedurl=self.geturl()+'&constrained' 
     50        self.constrainedurl=self.geturl(constrained=1)+'&constrained' 
    5151        self.sessID=sessionID 
    5252        self.hits=hits 
     
    6262        if offset is not None:args['start']=offset 
    6363        if stride is not None:args['howmany']=stride 
     64        constrained=kw.get('constrained') 
     65        if constrained is not None: 
     66            if 'start' in args: del args['start'] 
     67            if 'howmany' in args: del args['howmany'] 
    6468        q='' 
    6569        for i in args: q+='%s=%s&'%(i,args[i]) 
Note: See TracChangeset for help on using the changeset viewer.