Skip to content

Commit

Permalink
set catalog type from manage connections
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored and nyalldawson committed Dec 10, 2021
1 parent 6d8ec08 commit 8a4341f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -167,6 +167,7 @@ def load(self, items):
# no dups detected or overwrite is allowed
url = '/MetaSearch/%s/url' % conn_name
self.settings.setValue(url, catalog.attrib.get('url'))
self.settings.setValue(url, catalog.attrib.get('catalog-type', 'OGC CSW 2.0.2'))

def accept(self):
"""accept connections"""
Expand Down

0 comments on commit 8a4341f

Please sign in to comment.