Skip to content

Commit 47e62bf

Browse files
author
Richard Jones
committed
[SF#517906] Attribute order in "View customisation"
1 parent 3a6db15 commit 47e62bf

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Fixed:
2323
on the client-side.
2424
. #516883 ] mail interface + ANONYMOUS_REGISTER
2525
. #516854 ] "My Issues" and redisplay
26+
. #517906 ] Attribute order in "View customisation"
2627

2728

2829
2002-01-24 - 0.4.0

roundup/htmltemplate.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: htmltemplate.py,v 1.74 2002-02-16 08:39:42 richard Exp $
18+
# $Id: htmltemplate.py,v 1.75 2002-02-16 08:43:23 richard Exp $
1919

2020
__doc__ = """
2121
Template engine.
@@ -851,9 +851,11 @@ def filter_section(self, template, filter, columns, group, all_filters,
851851
show_customization )
852852
w('<table width=100% border=0 cellspacing=0 cellpadding=2>\n')
853853
names = []
854-
for name in self.properties.keys():
855-
if name in all_filters or name in all_columns:
854+
seen = []
855+
for name in all_filters + all_columns:
856+
if self.properties.has_key(name) and not seen.has_key(name):
856857
names.append(name)
858+
seen[name] = 1
857859
if show_customization:
858860
action = '-'
859861
else:
@@ -1068,6 +1070,9 @@ def render(self, form):
10681070

10691071
#
10701072
# $Log: not supported by cvs2svn $
1073+
# Revision 1.74 2002/02/16 08:39:42 richard
1074+
# . #516854 ] "My Issues" and redisplay
1075+
#
10711076
# Revision 1.73 2002/02/15 07:08:44 richard
10721077
# . Alternate email addresses are now available for users. See the MIGRATION
10731078
# file for info on how to activate the feature.

0 commit comments

Comments
 (0)