summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNBrowse.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-07-24 10:33:01 +0200
committerYorhel <git@yorhel.nl>2012-07-24 10:33:01 +0200
commit2fedc5c4aff004f92775b972145aa39e290499bd (patch)
treeb1644b559871c438ac2992c34d879e3343b0615f /lib/VNDB/Handler/VNBrowse.pm
parent4eed08cd6a1bba4dfc105dd1adf4068048b80bcd (diff)
Handler::VNBrowse: Keep sort info when changing column settings
Diffstat (limited to 'lib/VNDB/Handler/VNBrowse.pm')
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm
index 86061bd1..f714b93e 100644
--- a/lib/VNDB/Handler/VNBrowse.pm
+++ b/lib/VNDB/Handler/VNBrowse.pm
@@ -73,9 +73,8 @@ sub list {
my $url = sub {
my($char, $toggle) = @_;
- return '/v/' . $char . "?q=$quri;fil=$f->{fil}" .
- ($toggle ? ';' . $toggle . '=' . ($f->{$toggle}?0:1)
- : '');
+ return "/v/$char?q=$quri;fil=$f->{fil};s=$f->{s};o=$f->{o}" .
+ ($toggle ? ";$toggle=".($f->{$toggle}?0:1) : '');
};
div class => 'mainbox';