From: richard Date: Sun, 29 Jul 2001 09:31:35 +0000 (+0000) Subject: oops X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3c784505697824d05bdd6b9b8029b6d18b4f8dc9;p=roundup.git oops git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@137 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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)