Changeset 2845 for TI05-delivery


Ignore:
Timestamp:
28/08/07 08:53:49 (12 years ago)
Author:
lawrence
Message:

Bug fixes for problems using scope in discovery, and for
some specific content problems (exposed late Friday afternoon)
and resulting for the users in 500 internal errors ...

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

Legend:

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

    r2829 r2845  
    225225                c.searchString=searchConstraints['searchString'] 
    226226            if searchConstraints['scope'] is not None: 
    227                 c.source=searchConstraintss['scope'] 
     227                c.source=searchConstraints['scope'] 
    228228                 
    229229        return render_response('advanced') 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/People2.py

    r2688 r2845  
    9292        ''' Return hyperlink to centre '''  
    9393        if self['url']<>'': 
    94                 if self['url'][0:4]<>'http': self['url']='http://%s'%sef['url'] 
     94                if self['url'][0:4]<>'http': self['url']='http://%s'%self['url'] 
    9595                u=hyperlink(self['sname'],self['url']) 
    9696        else: u=self['sname'] 
Note: See TracChangeset for help on using the changeset viewer.