Skip to content

Commit 4d35b7c

Browse files
author
Richard Jones
committed
fix comma-separated ID filter spec in web requests [SF#1396278]
1 parent 29e5d05 commit 4d35b7c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Fixed:
4343
- handle "schema" being reserved word in MySQL 5+ (sf bug 1397569)
4444
- fixed documentation of filter() in the case of multiple values in a
4545
String search (sf bug 1373396)
46+
- fix comma-separated ID filter spec in web requests (sf bug 1396278)
4647

4748

4849
2005-10-07 0.8.5

roundup/cgi/templating.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,6 +2075,9 @@ def _post_init(self):
20752075
else:
20762076
if isinstance(fv, type([])):
20772077
self.filterspec[name] = [v.value for v in fv]
2078+
elif name == 'id':
2079+
# special case "id" property
2080+
self.filterspec[name] = handleListCGIValue(fv)
20782081
else:
20792082
self.filterspec[name] = fv.value
20802083

0 commit comments

Comments
 (0)