Skip to content
Browse files

Look for url param in COK redirects

  • Loading branch information...
1 parent 7eca853 commit c579f5a9acc7308eefaf77731228b60dbb7a856c @autarch autarch committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/VegGuide/Role/Controller/Search.pm
View
2 lib/VegGuide/Role/Controller/Search.pm
@@ -140,7 +140,7 @@ sub _redirect_on_bad_request {
my $class = shift;
my %p = @_;
- if ( $p{sort} || $p{q} ) {
+ if ( $p{sort} || $p{q} || $p{url} ) {
# Noise from COK Veg* redirects
my $uri = $c->request()->uri();

0 comments on commit c579f5a

Please sign in to comment.
Something went wrong with that request. Please try again.