summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-01-02 14:52:06 +0100
committerYorhel <git@yorhel.nl>2020-01-02 14:52:06 +0100
commitcfef16877ab325362f52514edb835f7b17c218fc (patch)
tree2d6ef35fb6fb2fe47267b83ca71f10024e0d7d6d
parent6b1a60e96d8bf7e5354ca03e7ed53164de5ee3e5 (diff)
ulist: Fix alphabet filter to reset page number
-rw-r--r--lib/VNWeb/User/Lists.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/User/Lists.pm b/lib/VNWeb/User/Lists.pm
index a939dff9..2854987c 100644
--- a/lib/VNWeb/User/Lists.pm
+++ b/lib/VNWeb/User/Lists.pm
@@ -318,7 +318,7 @@ sub filters_ {
br_;
# XXX: Rather silly that everything in this form is a form element except for the alphabet filter. Meh, behavior seems intuitive enough.
span_ class => 'browseopts', sub {
- a_ href => $url->(ch => $_), ($_//'') eq ($opt->{ch}//'') ? (class => 'optselected') : (), !defined($_) ? 'ALL' : $_ ? uc $_ : '#'
+ a_ href => $url->(ch => $_, p => undef), ($_//'') eq ($opt->{ch}//'') ? (class => 'optselected') : (), !defined($_) ? 'ALL' : $_ ? uc $_ : '#'
for (undef, 'a'..'z', 0);
};
br_;