Navigation Menu

Skip to content

Commit

Permalink
MetaSearch: update OARec record model links
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored and nyalldawson committed May 29, 2022
1 parent 70b40ab commit ff036a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/MetaSearch/search_backend.py
Expand Up @@ -226,7 +226,7 @@ def records(self):

'bbox': None,
'title': rec['properties']['title'],
'links': rec['properties'].get('associations', [])
'links': rec.get('links', [])
}
try:
bbox2 = rec['properties']['extent']['spatial']['bbox'][0]
Expand Down

0 comments on commit ff036a2

Please sign in to comment.