From 3c784505697824d05bdd6b9b8029b6d18b4f8dc9 Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 29 Jul 2001 09:31:35 +0000 Subject: [PATCH] oops git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@137 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/htmltemplate.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index c2d0397..c79fdd6 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -1,4 +1,4 @@ -# $Id: htmltemplate.py,v 1.10 2001-07-29 09:28:23 richard Exp $ +# $Id: htmltemplate.py,v 1.11 2001-07-29 09:31:35 richard Exp $ import os, re, StringIO, urllib, cgi, errno @@ -395,6 +395,8 @@ def sortby(sort_name, columns, filter, sort, group, filterspec): dir = name[0] if dir == '-': name = name[1:] + else: + dir = '' if sort_name == name: if dir == '-': s_dir = '' @@ -707,6 +709,9 @@ def newitem(client, templates, db, classname, form, replace=re.compile( # # $Log: not supported by cvs2svn $ +# Revision 1.10 2001/07/29 09:28:23 richard +# Fixed sorting by clicking on column headings. +# # Revision 1.9 2001/07/29 08:27:40 richard # Fixed handling of passed-in values in form elements (ie. during a # drill-down) -- 2.30.2