Ignore:
Timestamp:
07/08/07 12:55:02 (12 years ago)
Author:
lawrence
Message:

Fix for ticket:839

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/discovery.py

    r2763 r2770  
    8080            # default form has a global bounding box 
    8181            bbox=[self.inputs['bboxN'],self.inputs['bboxS'],self.inputs['bboxW'],self.inputs['bboxE']] 
     82            print 'Input bounding box',bbox 
    8283            self.__checkbox(bbox) 
    8384            if self.message!='':  
     
    169170                    c.xml+=' (unfortunately %s hits matched unformattable documents from %s, an internal error has been logged):</p>'%(len(errors),dp) 
    170171                    status,message=mailHandler(['b.n.lawrence@rl.ac.uk'],'DIF errors',str(errors), 
    171                                     server=self.cf.get('DEFAULT',mailsever)) 
     172                                    server=self.cf.get('DEFAULT','mailserver')) 
    172173                    if not status: 
    173174                        c.xml+='<p> Actually, not even an internal error has been logged. <br/>' 
     
    212213        c.source=['All'] 
    213214        #constraints 
     215        print searchConstraints 
     216        print searchConstraints['bbox'] 
    214217        if searchConstraints is not None: 
    215218            if searchConstraints['dateRange'] is not None: 
     
    217220                c.endDateDay,c.endDateMon,c.endDateYear=searchConstraints['dateRange'][1] 
    218221            if searchConstraints['bbox'] is not None: 
    219                 bboxN,bboxW,bboxE,bboxS=searchConstraints['bbox'] 
     222                c.bbox=searchConstraints['bbox'] 
    220223            if searchConstraints['textTarget'] is not None: 
    221224                c.textTarget=searchConstraints['textTarget'] 
Note: See TracChangeset for help on using the changeset viewer.