summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNBrowse.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2018-10-02 15:09:12 +0200
committerYorhel <git@yorhel.nl>2018-10-02 15:10:24 +0200
commitbfb19401c38f68a3145ca49948667470a9370aa0 (patch)
tree7dc3b1524f3bbe1bdd5726ec77aa511bfb6775ff /lib/VNDB/Handler/VNBrowse.pm
parent6bd0b0cd1f3892253d881f71533940f0cf07c13d (diff)
Fix release filter compatibility handling on VN browser
filFetchDB() is not used for the release filter on the VN browsing interface, so I've moved the compatibility stuff into a separate filCompat() method that can be called from Handler::VNBrowse.
Diffstat (limited to 'lib/VNDB/Handler/VNBrowse.pm')
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm
index da3f3782..edc42621 100644
--- a/lib/VNDB/Handler/VNBrowse.pm
+++ b/lib/VNDB/Handler/VNBrowse.pm
@@ -52,6 +52,7 @@ sub list {
$f->{o} = $f->{s} eq 'tagscore' ? 'd' : 'a' if !$f->{o};
my $rfil = fil_parse $f->{rfil}, @{$VNDB::Util::Misc::filfields{release}};
+ $self->filCompat(release => $rfil);
$f->{rfil} = fil_serialize $rfil, @{$VNDB::Util::Misc::filfields{release}};
my($list, $np) = $self->filFetchDB(vn => $f->{fil}, {