Skip to content

Commit

Permalink
[metasearch] Fix load connections
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper authored and nyalldawson committed Aug 4, 2024
1 parent 00412a4 commit 38e9552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/MetaSearch/dialogs/manageconnectionsdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ def load(self, items):

# no dups detected or overwrite is allowed
url = '/MetaSearch/%s/url' % conn_name
type_ = '/MetaSearch/%s/catalog-type' % conn_name
self.settings.setValue(url, catalog.attrib.get('url'))
self.settings.setValue(url, catalog.attrib.get('catalog-type', 'OGC CSW 2.0.2'))
self.settings.setValue(type_, catalog.attrib.get('catalog-type', 'OGC CSW 2.0.2'))

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

0 comments on commit 38e9552

Please sign in to comment.