From 138d8370b0e38a77b66dc8fd6e3ac6f55956d247 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 16 Feb 2002 08:43:23 +0000 Subject: [PATCH] . #517906 ] Attribute order in "View customisation" git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@634 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 1 + roundup/htmltemplate.py | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 9956e7c..411406a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,6 +23,7 @@ Fixed: on the client-side. . #516883 ] mail interface + ANONYMOUS_REGISTER . #516854 ] "My Issues" and redisplay + . #517906 ] Attribute order in "View customisation" 2002-01-24 - 0.4.0 diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index 4828274..9acb8ce 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.74 2002-02-16 08:39:42 richard Exp $ +# $Id: htmltemplate.py,v 1.75 2002-02-16 08:43:23 richard Exp $ __doc__ = """ Template engine. @@ -851,9 +851,11 @@ class IndexTemplate(TemplateFunctions): show_customization ) w('\n') names = [] - for name in self.properties.keys(): - if name in all_filters or name in all_columns: + seen = [] + for name in all_filters + all_columns: + if self.properties.has_key(name) and not seen.has_key(name): names.append(name) + seen[name] = 1 if show_customization: action = '-' else: @@ -1068,6 +1070,9 @@ class NewItemTemplate(TemplateFunctions): # # $Log: not supported by cvs2svn $ +# Revision 1.74 2002/02/16 08:39:42 richard +# . #516854 ] "My Issues" and redisplay +# # Revision 1.73 2002/02/15 07:08:44 richard # . Alternate email addresses are now available for users. See the MIGRATION # file for info on how to activate the feature. -- 2.30.2