From: stefan Date: Mon, 16 Feb 2009 17:54:23 +0000 (+0000) Subject: Robustify SearchAction.fakeFilterVars X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9e3a409ab028422671539c70ef8687f60710f010;p=roundup.git Robustify SearchAction.fakeFilterVars git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4129 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/actions.py b/roundup/cgi/actions.py index 136fb99..e8d69ac 100755 --- a/roundup/cgi/actions.py +++ b/roundup/cgi/actions.py @@ -234,7 +234,7 @@ class SearchAction(Action): if isinstance(prop, hyperdb.String): v = self.form[key].value l = token.token_split(v) - if len(l) > 1 or l[0] != v: + if len(l) != 1 or l[0] != v: self.form.value.remove(self.form[key]) # replace the single value with the split list for v in l: