From bfb19401c38f68a3145ca49948667470a9370aa0 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Tue, 2 Oct 2018 15:09:12 +0200 Subject: 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. --- lib/VNDB/Handler/VNBrowse.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/VNDB/Handler/VNBrowse.pm') 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}, { -- cgit v1.2.3