summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0b2d40)
raw | patch | inline | side by side (parent: f0b2d40)
author | kedder <kedder@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 9 Jan 2003 14:41:20 +0000 (14:41 +0000) | ||
committer | kedder <kedder@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 9 Jan 2003 14:41:20 +0000 (14:41 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1428 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/templating.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 03a906413e5ea6612288259b30400325eec660fb..7a13ff753836be69408b510804bcc1f35341f540 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- fixed searching on date / interval fields (sf bug 658157)
- fixed form elements names in search form to allow grouping and sorting
on "creation" field
+- display of saved queries is now performed correctly
2002-12-11 0.5.3
- added mention of how to give users multiple Roles
index 7e6f36ea1cd9025f71461c49a2a653a8e95badb7..d8ed0fc39f64cfbcf0a280fde168a7a2656feff1 100644 (file)
l.append(s%(':filter', ','.join(self.filter)))
if filterspec:
for k,v in self.filterspec.items():
- l.append(s%(k, ','.join(v)))
+ if type(v) == type([]):
+ l.append(s%(k, ','.join(v)))
+ else:
+ l.append(s%(k, v))
if self.search_text:
l.append(s%(':search_text', self.search_text))
l.append(s%(':pagesize', self.pagesize))
l.append(':filter=%s'%(','.join(self.filter)))
for k,v in self.filterspec.items():
if not args.has_key(k):
- l.append('%s=%s'%(k, ','.join(v)))
+ if type(v) == type([]):
+ l.append('%s=%s'%(k, ','.join(v)))
+ else:
+ l.append('%s=%s'%(k, v))
if self.search_text and not args.has_key(':search_text'):
l.append(':search_text=%s'%self.search_text)
if not args.has_key(':pagesize'):