]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch...
authorlpsolit%gmail.com <>
Tue, 12 Jan 2010 16:12:59 +0000 (16:12 +0000)
committerlpsolit%gmail.com <>
Tue, 12 Jan 2010 16:12:59 +0000 (16:12 +0000)
Bugzilla/CGI.pm

index 738a453dd4a526d828e311dda17a5ce73db2874e..b8011d0abba640169f99cedc015066226e2d4fac 100644 (file)
@@ -178,7 +178,8 @@ sub clean_search_url {
     # chfieldto is set to "Now" by default in query.cgi. But if none
     # of the other chfield parameters are set, it's meaningless.
     if (!defined $self->param('chfieldfrom') && !$self->param('chfield')
-        && !defined $self->param('chfieldvalue'))
+        && !defined $self->param('chfieldvalue') && $self->param('chfieldto')
+        && lc($self->param('chfieldto')) eq 'now')
     {
         $self->delete('chfieldto');
     }