0001238: Web report: sort references for places and media (use locale and case sensitive sort)

svn: r9059
This commit is contained in:
Brian Matherly 2007-10-02 12:12:15 +00:00
parent 6e4e4887a1
commit 62698d99aa
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-10-02 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: 0001238: Web report: sort references for
places and media (use locale and case sensitive sort)
2007-09-28 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/_RelationView.py:
* src/Editors/_EditFamily.py:

View File

@ -567,7 +567,9 @@ class BasePage:
of.write('<h4>%s</h4>\n' % _('References'))
of.write('<table class="infolist">\n')
sortlist = sorted(handlelist, key=operator.itemgetter(1))
sortlist = sorted(handlelist,
key = operator.itemgetter(1),
cmp = strcoll_case_sensitive)
index = 1
for (path,name,gid) in sortlist: