]> Sergey Matveev's repositories - public-inbox.git/commit
search: get rid of most lookup_* subroutines
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 29 Mar 2018 09:57:52 +0000 (09:57 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 29 Mar 2018 10:00:04 +0000 (10:00 +0000)
commit11707dae97d1f4638157cfee298464b2f2deeed4
treea25db85d1ab0e5e4daeb099140d31f1c07fd0c5c
parent821ed7c40b7b50ceb1c942af5e14d168995d514e
search: get rid of most lookup_* subroutines

Too many similar functions doing the same basic thing was
redundant and misleading, especially since Message-ID is
no longer treated as a truly unique identifier.

For displaying threads in the HTML, this makes it clear
that we favor the primary Message-ID mapped to an NNTP
article number if a message cannot be found.
lib/PublicInbox/Inbox.pm
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchThread.pm
lib/PublicInbox/SearchView.pm
lib/PublicInbox/View.pm
t/search-thr-index.t
t/search.t