summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-10-31 15:04:38 +0100
committerYorhel <git@yorhel.nl>2010-10-31 15:04:38 +0100
commit69d3c18414c54b2251ed2bac765af320299abda2 (patch)
tree1f10b7946a4ece27df325d9fc5af50aa69b4af30 /lib
parentf7347b74d7ce7e5d2640ecaf05248edb6bce6d73 (diff)
Bugfix: only redirect VN search to VN page if page=1
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm
index 43e8b3cb..f4f98194 100644
--- a/lib/VNDB/Handler/VNBrowse.pm
+++ b/lib/VNDB/Handler/VNBrowse.pm
@@ -69,7 +69,7 @@ sub list {
);
$self->resRedirect('/v'.$list->[0]{id}, 'temp')
- if $f->{q} && @$list == 1;
+ if $f->{q} && @$list == 1 && $f->{p} == 1;
$self->htmlHeader(title => mt('_vnbrowse_title'), search => $f->{q});
_filters($self, $f, $char, \@ignored);