summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-03-03 13:14:52 +0100
committerYorhel <git@yorhel.nl>2017-03-03 13:14:52 +0100
commitab6f118d93bbbc560ad23498eacfd85f1f349922 (patch)
treece066e20d6effdddac70b21fb3c6d3f484aebe6a /lib
parent8629c32832cc0f8f91fbcf6f12ece9c4210f7e1c (diff)
VNBrowse: Remember sort options when changing query or filters
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm
index af9a7d70..da3f3782 100644
--- a/lib/VNDB/Handler/VNBrowse.pm
+++ b/lib/VNDB/Handler/VNBrowse.pm
@@ -108,8 +108,8 @@ sub list {
lit '<i>&#9656;</i> Release filters<i></i>';
end;
end;
- input type => 'hidden', class => 'hidden', name => 'fil', id => 'fil', value => $f->{fil};
- input type => 'hidden', class => 'hidden', name => 'rfil', id => 'rfil', value => $f->{rfil};
+ input type => 'hidden', class => 'hidden', name => $_, id => $_, value => $f->{$_}
+ for (qw{fil rfil s o});
end;
end 'form';