From bb8ce0cce6ccf4d638c9170645402fcdd8e5bad5 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Sun, 11 Aug 2019 21:50:50 +0200 Subject: [PATCH] Narrative web: Sort problem with places. (#856) * Narrative web: Sort problem with places. Fixes #10868. Places list is not sorted depending on the selected language. If you start gramps in english or another language then try to generated a narrative web report in another language, the navigation alphabet is incorrect. This is true for the place list and the person list. The problem was related to pyICU. * Narrative web: some pylint improvement. --- gramps/plugins/webreport/common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gramps/plugins/webreport/common.py b/gramps/plugins/webreport/common.py index 97a783b4f..02f2ff70b 100644 --- a/gramps/plugins/webreport/common.py +++ b/gramps/plugins/webreport/common.py @@ -517,7 +517,6 @@ def first_letter(string, rlocale=glocale): # no special case return norm_unicode[0].upper() - dummy_rlocale = rlocale def primary_difference(prev_key, new_key, rlocale=glocale): """ The PyICU collation doesn't work if you want to sort in another language