Changeset 2786 for TI05-delivery


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

Sundry ticket fixes.

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server
Files:
4 edited

Legend:

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

    r2785 r2786  
    206206            return 'Error, invalid configuration for search interface' 
    207207        #defaults 
    208         c.bbox='+90.0','-180.0','+180.0','-90.0' 
     208        c.bbox='90.0','-180.0','180.0','-90.0' 
    209209        c.startDateDay,c.startDateMon,c.startDateYear='','','' 
    210210        c.endDateDay,c.endDateMon,c.endDateYear='','','' 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ndgInterface.py

    r2785 r2786  
    129129                status,xmlh=ndgRetrieve.ndgRetrieve(ndgO,request.environ['ndgConfig'],logger,format) 
    130130            if status: self.XMLHCache[uri]=xmlh 
     131             
     132        if not status: return status,xmlh 
    131133         
    132134        # valid values of the return objects SHOULD BE  
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/DiscoveryState.py

    r2785 r2786  
    2828            c+='Including %s to %s; '%('%s,%s,%s'%dr[0],'%s,%s,%s'%dr[1]) 
    2929        bbox=self.values['bbox'] 
    30         if bbox is None or bbox==['+90.0','-180.0','+180.0','-90.0']: 
     30        if bbox is None or bbox==['90.0','-180.0','180.0','-90.0']: 
    3131            c+='Global; ' 
    3232        else: c+='Bounding Box: %sN,%sW,%sE,%sS; '%tuple(bbox) 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/results.kid

    r2760 r2786  
    5757            </div> 
    5858            <div class="resultsBar"> 
    59                 <a href="${g.discoveryURL}?constraints=abc"> Refine search</a>  
     59                <a href="${c.state.constrainedurl"> Refine search</a>  
    6060                | Found ${c.state.hits} | Showing ${c.state.offset}-$upper  
    6161                  <span py:if="p!=[]"> | <a href="$purl"> Previous ${p[1]}</a> </span> 
Note: See TracChangeset for help on using the changeset viewer.