diff --git a/pandora/item/utils.py b/pandora/item/utils.py index 4c5691da6..cd8db0073 100644 --- a/pandora/item/utils.py +++ b/pandora/item/utils.py @@ -202,7 +202,7 @@ def sort_string(string): def sort_title(title): - #title = title.replace(u'Æ', 'Ae') + title = title.replace(u'Æ', 'Ae') if isinstance(title, str): title = unicode(title) title = sort_string(title) diff --git a/pandora/person/views.py b/pandora/person/views.py index ad02d46a2..1df8dec2d 100644 --- a/pandora/person/views.py +++ b/pandora/person/views.py @@ -28,7 +28,7 @@ def editName(request): person = get_object_or_404_json(models.Person, pk=ox.from26(data['id'])) response = json_response() if 'sortname' in data: - person.sortname = utils.sort_string(data['sortname']) + person.sortname = data['sortname'] person.edited = True person.save() response['data'] = person.json()