Skip to content

Commit

Permalink
Fix error when searching by name in the place selector
Browse files Browse the repository at this point in the history
Fixes #13605.
  • Loading branch information
Nick-Hall committed Feb 5, 2025
1 parent 13df137 commit dadf112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramps/gui/views/treemodels/placemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def column_name(self, data):

def search_name(self, data):
"""The search name includes all alt names to enable finding by alt name"""
return ",".join([[data.name.value] + [name.value for name in data.alt_names]])
return ",".join([data.name.value] + [name.value for name in data.alt_names])

def column_longitude(self, data):
if not data.long:
Expand Down

0 comments on commit dadf112

Please sign in to comment.