9495: Narrativeweb: inconsistent & incomplete display of place hierarchy labels

This commit is contained in:
SNoiraud 2016-06-21 08:00:09 +02:00
parent d460e9a6eb
commit a9fe12c394

View File

@ -3450,7 +3450,7 @@ class PlacePages(BasePage):
def sort_by_place_name(obj):
place = self.dbase_.get_place_from_handle(obj)
name = _pd.display(self.dbase_, place)
return (name)
return (name.lower())
handle_list = sorted(place_handles,
key=lambda x: sort_by_place_name(x))