From 3bbf621402123292d6b2ad0c999c3b9734ff0401 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 9 Oct 2004 03:54:42 +0000 Subject: [PATCH] * src/GrampsDbBase.py: remove forced upper comparisons svn: r3612 --- gramps2/ChangeLog | 1 + gramps2/src/GrampsDbBase.py | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 4df52bb6b..5fe3aa96e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2004-10-08 Don Allingham + * src/GrampsDbBase.py: remove forced upper comparisons * src/EditPerson.py: support for locale selected patronymic names. Allow patronymic name to be substituted for prefix on the display diff --git a/gramps2/src/GrampsDbBase.py b/gramps2/src/GrampsDbBase.py index 955d7b565..cedd51362 100644 --- a/gramps2/src/GrampsDbBase.py +++ b/gramps2/src/GrampsDbBase.py @@ -996,17 +996,17 @@ class GrampsDbBase: return locale.strcoll(n1,n2) def _sortbyplace(self,f,s): - return locale.strcoll(self.place_map.get(str(f))[2].upper(), - self.place_map.get(str(s))[2].upper()) + return locale.strcoll(self.place_map.get(str(f))[2], + self.place_map.get(str(s))[2]) def _sortbysource(self,f,s): - fp = self.source_map[str(f)][2].upper() - sp = self.source_map[str(s)][2].upper() + fp = self.source_map[str(f)][2] + sp = self.source_map[str(s)][2] return locale.strcoll(fp,sp) def _sortbymedia(self,f,s): - fp = self.media_map[str(f)][4].upper() - sp = self.media_map[str(s)][4].upper() + fp = self.media_map[str(f)][4] + sp = self.media_map[str(s)][4] return locale.strcoll(fp,sp) def set_person_column_order(self,list):