Skip to content

Commit e7b0808

Browse files
author
Richard Jones
committed
oops
1 parent a33396f commit e7b0808

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

roundup/htmltemplate.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: htmltemplate.py,v 1.10 2001-07-29 09:28:23 richard Exp $
1+
# $Id: htmltemplate.py,v 1.11 2001-07-29 09:31:35 richard Exp $
22

33
import os, re, StringIO, urllib, cgi, errno
44

@@ -395,6 +395,8 @@ def sortby(sort_name, columns, filter, sort, group, filterspec):
395395
dir = name[0]
396396
if dir == '-':
397397
name = name[1:]
398+
else:
399+
dir = ''
398400
if sort_name == name:
399401
if dir == '-':
400402
s_dir = ''
@@ -707,6 +709,9 @@ def newitem(client, templates, db, classname, form, replace=re.compile(
707709

708710
#
709711
# $Log: not supported by cvs2svn $
712+
# Revision 1.10 2001/07/29 09:28:23 richard
713+
# Fixed sorting by clicking on column headings.
714+
#
710715
# Revision 1.9 2001/07/29 08:27:40 richard
711716
# Fixed handling of passed-in values in form elements (ie. during a
712717
# drill-down)

0 commit comments

Comments
 (0)