On September 27, 1998 at 15:51, Jerry Preeper wrote:
I have recently installed MHonArc 2.3.0beta
...
I am having a problem however with author sorting. The subjects on the
author.html page created by MHonArc are not linked to the correct messages.
For example, listed under author1, I have a message subject that is
actually from author2, but the link to this message is to a message by
author1. Also, author2's name doesn't show up anywhere on the page.
The problem occurs for when the index is generated via OTHERINDEXES.
The bug is verified against v2.3.0 beta. The following is a patch
for mhindex.pl for v2.3.0 beta:
*** mhindex.pl.org Tue Aug 11 00:18:11 1998
--- mhindex.pl Wed Sep 30 15:24:36 1998
***************
*** 41,48 ****
&compute_page_total();
$PageNum = $onlypg || 1;
$totalpgs = $onlypg || $NumOfPages;
! @MListOrder = &sort_messages() unless scalar(@MListOrder);
! @Index2MLoc{(_at_)MListOrder} = (0 .. $#MListOrder) unless
scalar(%Index2MLoc);
for ( ; $PageNum <= $totalpgs; ++$PageNum) {
next if $PageNum < $IdxMinPg;
--- 41,51 ----
&compute_page_total();
$PageNum = $onlypg || 1;
$totalpgs = $onlypg || $NumOfPages;
! if (!scalar(@MListOrder)) {
! @MListOrder = &sort_messages();
! %Index2MLoc = ();
! @Index2MLoc{(_at_)MListOrder} = (0 .. $#MListOrder);
! }
for ( ; $PageNum <= $totalpgs; ++$PageNum) {
next if $PageNum < $IdxMinPg;
--ewh
----
Earl Hood | University of California: Irvine
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu | Electronic
Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME