From 800c7a96b3ebc970dc1ea5d6cd242530a0eba1cf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 11 Oct 2011 21:30:43 +0200 Subject: [PATCH] padding --- pandora/item/utils.py | 2 +- pandora/person/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/item/utils.py b/pandora/item/utils.py index 4c5691da..cd8db007 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 ad02d46a..1df8dec2 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()