summaryrefslogtreecommitdiff
path: root/lib/VNWeb/TT/TagPage.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-01-29 10:48:57 +0100
committerYorhel <git@yorhel.nl>2021-01-29 10:48:59 +0100
commit1e12a4b6aa09e58e1a0d802b165cecf381abd8b6 (patch)
tree648ecec01f686bd6a83b48fc1457307335b38d23 /lib/VNWeb/TT/TagPage.pm
parent6e7e9ea7ef755e0017f363409b11353aee86b471 (diff)
AdvSearch: Convert old-url redirects into permanent redirects
I had them as temporary redirects in order to safely handle a rollback, but that won't be necessary anymore.
Diffstat (limited to 'lib/VNWeb/TT/TagPage.pm')
-rw-r--r--lib/VNWeb/TT/TagPage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/TT/TagPage.pm b/lib/VNWeb/TT/TagPage.pm
index 2de7c27d..9da7a996 100644
--- a/lib/VNWeb/TT/TagPage.pm
+++ b/lib/VNWeb/TT/TagPage.pm
@@ -85,7 +85,7 @@ sub vns_ {
$f = filter_vn_adv $f;
tuwf->compile({ advsearch => 'v' })->validate(@$f > 1 ? $f : undef)->data;
};
- return tuwf->resRedirect(tuwf->reqPath().'?'.query_encode(%$opt, fil => undef, f => $q), 'temp') if $q;
+ return tuwf->resRedirect(tuwf->reqPath().'?'.query_encode(%$opt, fil => undef, f => $q), 'perm') if $q;
}
$opt->{f} = advsearch_default 'v' if !$opt->{f}{query} && !defined tuwf->reqGet('f');