svnno****@sourc*****
svnno****@sourc*****
2007年 10月 15日 (月) 14:33:59 JST
Revision: 183 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=183 Author: tach Date: 2007-10-15 14:33:58 +0900 (Mon, 15 Oct 2007) Log Message: ----------- reverse sort of related stories Modified Paths: -------------- slashjp/trunk/Slash/DB/MySQL/MySQL.pm -------------- next part -------------- Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm =================================================================== --- slashjp/trunk/Slash/DB/MySQL/MySQL.pm 2007-10-15 04:54:42 UTC (rev 182) +++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm 2007-10-15 05:33:58 UTC (rev 183) @@ -13645,7 +13645,7 @@ } my $i = 1; - foreach my $rel (sort keys %$rel_sid_hr) { + foreach my $rel (reverse sort keys %$rel_sid_hr) { my $rel_stoid = $self->getStoidFromSidOrStoid($rel); $self->sqlInsert("related_stories", { stoid => $stoid,