Provide and use an acronym_lower() method so sorting works as expected.
- Legacy-Id: 540
This commit is contained in:
parent
fe92270a0e
commit
d6a31b4f7f
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue