about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-07 08:51:56 +0000
committerEric Wong <e@80x24.org>2021-02-07 22:57:15 +0000
commit5beb4a5f6585acdb036a10b2be4b45b6e7613ed6 (patch)
tree9ebfe1b08024f5681f2b2b0d1d26ea2ecae2a1f5 /lib/PublicInbox/SearchView.pm
parentc1ea28b62d19bb7c77a275497899382df344eb52 (diff)
downloadpublic-inbox-5beb4a5f6585acdb036a10b2be4b45b6e7613ed6.tar.gz
Nobody is expected to use long options, but for consistency
with mairix(1), we'll use the pluralized option throughout
(including existing PublicInbox::{Search,SearchView}).

Link: https://public-inbox.org/meta/20210206090119.GA14519@dcvr/
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index d50d3cf6..08c77f35 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -48,7 +48,7 @@ sub sres_top_html {
                 limit => $q->{l},
                 offset => $o,
                 relevance => $q->{r},
-                thread => $q->{t},
+                threads => $q->{t},
                 asc => $asc,
         };
         my ($mset, $total, $err, $html);