]> Sergey Matveev's repositories - public-inbox.git/commit
isearch: use numeric sort for article numbers
authorEric Wong <e@80x24.org>
Mon, 21 Dec 2020 07:51:19 +0000 (07:51 +0000)
committerEric Wong <e@80x24.org>
Mon, 21 Dec 2020 21:51:56 +0000 (21:51 +0000)
commitbad84119fb0915abe3f19fe4fb9c34e24fe7e564
tree133899000ba4292cbd9c15c63098a6fedb78f6d0
parenteea4ba7bac73b67ccd2cdd07946b176260ac5fac
isearch: use numeric sort for article numbers

Perl sort is alphabetical by default and Xapian uses numeric
document IDs, so sort must be told explicitly to use numeric
comparisons even if the scalars are integer values (IV)
internally.

And eliminate extra hash marks ("#") since they're probably too
noisy if there are many IDs.

Note: I haven't seen this warning message in syslog, yet :>
lib/PublicInbox/Isearch.pm