diff options
author | Yorhel <git@yorhel.nl> | 2011-01-01 16:45:58 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-01-01 16:45:58 +0100 |
commit | 63005b274ccde96d8bdb36e7466ea5b0899b4151 (patch) | |
tree | 726ead66ce1aa48a927e6c857e4829d915c44461 /lib/VNDB/Handler/Tags.pm | |
parent | 98c82103ff4cd32db6f89a066b10061404f8b13d (diff) |
Added saving notes to filter selector and applied filFetchDB()
This finalizes the permanent filters feature.
Diffstat (limited to 'lib/VNDB/Handler/Tags.pm')
-rw-r--r-- | lib/VNDB/Handler/Tags.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm index 3d656728..ad736027 100644 --- a/lib/VNDB/Handler/Tags.pm +++ b/lib/VNDB/Handler/Tags.pm @@ -39,14 +39,15 @@ sub tagpage { my $tagspoil = $self->reqCookie($self->{cookie_prefix}.'tagspoil'); $f->{m} = $tagspoil =~ /^[0-2]$/ ? $tagspoil : 0 if $f->{m} == -1; - my($list, $np) = $t->{meta} || $t->{state} != 2 ? ([],0) : $self->dbVNGet( + my($list, $np) = $t->{meta} || $t->{state} != 2 ? ([],0) : $self->filFetchDB(vn => undef, undef, { what => 'rating', results => 50, page => $f->{p}, sort => $f->{s}, reverse => $f->{o} eq 'd', tagspoil => $f->{m}, tag_inc => $tag, - ); + tag_exc => undef, + }); my $title = mt '_tagp_title', $t->{meta}?0:1, $t->{name}; $self->htmlHeader(title => $title, noindex => $t->{state} != 2); |