diff options
author | Eric Wong <e@80x24.org> | 2019-12-25 07:50:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-27 20:00:37 +0000 |
commit | 9b5bf24a115346ef6095f4c613b4579fde112714 (patch) | |
tree | 4c5a9b52b95cfbff19a6156922223e1b9a421d41 /lib/PublicInbox/WwwAttach.pm | |
parent | 2d2b53538f1121e98ddc0652e2749bb90ea97769 (diff) | |
download | public-inbox-9b5bf24a115346ef6095f4c613b4579fde112714.tar.gz |
We don't need to return a closure or have a separate hash for sorting threads by relevance. Instead, we can stuff the relevance {pct} into the SearchMsg object itself and use that. Note: upon reviewing this code, the sort-by-relevance seems bogus as it only considers the relevance of the topmost message. Instead, it would make more sense to the user to sort by the highest relevance of all messages in that particular thread.
Diffstat (limited to 'lib/PublicInbox/WwwAttach.pm')
0 files changed, 0 insertions, 0 deletions