summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-11-19 17:03:22 +0100
committerYorhel <git@yorhel.nl>2019-11-19 17:03:22 +0100
commitddb7e51f4c4090a096e5eaa79b8e91b4d1040a31 (patch)
treebce5568376d39574cb841e8566c109e94e629d83 /lib
parente1da728d8124e249b46e054fb6a36686ff39c96e (diff)
ulist: Keep sort column when updating filters
Diffstat (limited to 'lib')
-rw-r--r--lib/VNWeb/User/Lists.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VNWeb/User/Lists.pm b/lib/VNWeb/User/Lists.pm
index 9fd95b39..b988d6cf 100644
--- a/lib/VNWeb/User/Lists.pm
+++ b/lib/VNWeb/User/Lists.pm
@@ -271,6 +271,8 @@ sub filters_ {
}
form_ method => 'get', sub {
+ input_ type => 'hidden', name => 's', value => $opt->{s};
+ input_ type => 'hidden', name => 'o', value => $opt->{o};
p_ class => 'labelfilters', sub {
span_ class => 'linkradio', sub {
join_ sub { em_ ' / ' }, \&lblfilt_, grep $_->{id} < 10, @filtlabels;