Provide and use an acronym_lower() method so sorting works as expected.

- Legacy-Id: 540
This commit is contained in:
Henrik Levkowetz 2007-06-19 21:05:19 +00:00
parent fe92270a0e
commit d6a31b4f7f
2 changed files with 3 additions and 1 deletions

View file

@ -22,6 +22,8 @@ class ResolveAcronym(object):
if interim:
return "i" + acronym
return acronym
def acronym_lower(self):
return self.acronym().lower()
def acronym_name(self):
try:
interim = self.interim

View file

@ -67,7 +67,7 @@ Updated as of {% now "F j, Y, P (T)" %}
</td>
</tr>
</table>
{% for wg in irtf_list|dictsort:"acronym" %}
{% for wg in irtf_list|dictsort:"acronym_lower" %}
<table cellpadding="0" cellspacing="0" border="2" width="80%">
<tr><a name="wg-{{ wg.acronym }}"></a>
<td align="center" bgcolor="#DDFFDD" width="20%"><b>{{ wg.acronym|upper }}</b><br>