summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNBrowse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/Handler/VNBrowse.pm')
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm
index 15407076..1060a256 100644
--- a/lib/VNDB/Handler/VNBrowse.pm
+++ b/lib/VNDB/Handler/VNBrowse.pm
@@ -21,7 +21,7 @@ sub list {
{ name => 'p', required => 0, default => 1, template => 'int' },
{ name => 'q', required => 0, default => '' },
{ name => 'sq', required => 0, default => '' },
- { name => 'fil',required => 0, default => '' },
+ { name => 'fil',required => 0, default => $self->authPref('filter_vn') },
);
return 404 if $f->{_err};
$f->{q} ||= $f->{sq};
@@ -65,7 +65,7 @@ sub list {
end; # /form
$self->htmlBrowseVN($list, $f, $np, "/v/$char?q=$f->{q};fil=$f->{fil}", $f->{fil} =~ /tag_inc-/);
- $self->htmlFooter;
+ $self->htmlFooter(prefs => ['filter_vn']);
}