Commit 47193c65 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch…

Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
parent 0518013a
...@@ -173,7 +173,8 @@ sub clean_search_url { ...@@ -173,7 +173,8 @@ sub clean_search_url {
# chfieldto is set to "Now" by default in query.cgi. But if none # chfieldto is set to "Now" by default in query.cgi. But if none
# of the other chfield parameters are set, it's meaningless. # of the other chfield parameters are set, it's meaningless.
if (!defined $self->param('chfieldfrom') && !$self->param('chfield') 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'); $self->delete('chfieldto');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment