Skip to content

Commit 155330e

Browse files
committed
Robustify SearchAction.fakeFilterVars
1 parent f5b0c85 commit 155330e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def fakeFilterVars(self):
234234
if isinstance(prop, hyperdb.String):
235235
v = self.form[key].value
236236
l = token.token_split(v)
237-
if len(l) > 1 or l[0] != v:
237+
if len(l) != 1 or l[0] != v:
238238
self.form.value.remove(self.form[key])
239239
# replace the single value with the split list
240240
for v in l:

0 commit comments

Comments
 (0)