Commit 2f7d085d authored by David Lawrence's avatar David Lawrence

Bug 652625 - Empty queries still get run because the list_id parameter is added to them

r/a=mkanat
parent bd1b0779
...@@ -438,7 +438,9 @@ sub redirect_search_url { ...@@ -438,7 +438,9 @@ sub redirect_search_url {
$self->clean_search_url(); $self->clean_search_url();
if ($user->id) { # Make sure we still have params still after cleaning otherwise we
# do not want to store a list_id for an empty search.
if ($user->id && $self->param) {
# Insert a placeholder Bugzilla::Search::Recent, so that we know what # Insert a placeholder Bugzilla::Search::Recent, so that we know what
# the id of the resulting search will be. This is then pulled out # the id of the resulting search will be. This is then pulled out
# of the Referer header when viewing show_bug.cgi to know what # of the Referer header when viewing show_bug.cgi to know what
......
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