diff options
author | Yorhel <git@yorhel.nl> | 2018-03-10 08:37:12 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2018-03-10 08:37:14 +0100 |
commit | 01a077607067de02c2ae8a2038b50a2a83863f9b (patch) | |
tree | c0b9274490f36cfc7a3ba0cf08804b1647579b38 /lib/VNDB | |
parent | 9dc08bc612178d57d82be623e24c51af9e614243 (diff) |
Handler::Tags: Remember sort option when changing spoilers in VN listing
Fixes https://vndb.org/t2520.250
Diffstat (limited to 'lib/VNDB')
-rw-r--r-- | lib/VNDB/Handler/Tags.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm index 43215fde..141c75aa 100644 --- a/lib/VNDB/Handler/Tags.pm +++ b/lib/VNDB/Handler/Tags.pm @@ -110,9 +110,9 @@ sub tagpage { h1 'Visual novels'; p class => 'browseopts'; - a href => "/g$t->{id}?fil=$f->{fil};m=0", $f->{m} == 0 ? (class => 'optselected') : (), 'Hide spoilers'; - a href => "/g$t->{id}?fil=$f->{fil};m=1", $f->{m} == 1 ? (class => 'optselected') : (), 'Show minor spoilers'; - a href => "/g$t->{id}?fil=$f->{fil};m=2", $f->{m} == 2 ? (class => 'optselected') : (), 'Spoil me!'; + a href => "/g$t->{id}?fil=$f->{fil};s=$f->{s};o=$f->{o};m=0", $f->{m} == 0 ? (class => 'optselected') : (), 'Hide spoilers'; + a href => "/g$t->{id}?fil=$f->{fil};s=$f->{s};o=$f->{o};m=1", $f->{m} == 1 ? (class => 'optselected') : (), 'Show minor spoilers'; + a href => "/g$t->{id}?fil=$f->{fil};s=$f->{s};o=$f->{o};m=2", $f->{m} == 2 ? (class => 'optselected') : (), 'Spoil me!'; end; p class => 'filselect'; |