codes****@googl*****
codes****@googl*****
2009年 4月 1日 (水) 02:20:49 JST
Author: tacahi Date: Tue Mar 31 09:11:16 2009 New Revision: 1371 Modified: branches/geeklog-new-tree/extended/CHANGES.jp branches/geeklog-new-tree/plugins-jp/filemgmt/functions.inc (contents, props changed) Log: r1365, r1366の変更を取り込みます。 (Issue #64: ファイル管理プラグインのRSS書き出し順の問題の修正) Modified: branches/geeklog-new-tree/extended/CHANGES.jp ============================================================================== --- branches/geeklog-new-tree/extended/CHANGES.jp (original) +++ branches/geeklog-new-tree/extended/CHANGES.jp Tue Mar 31 09:11:16 2009 @@ -1,5 +1,10 @@ $Id$ +2009-03-31 mystral-kk <mystral-kk> + + * ファイル管理(filemgmt)プラグインで、RSSが日付の新しい順に出力されない + バグ(Issue #64)に対処しました。 + 2009-03-28 Yoshinori Tahara <dengen> * mycaljpプラグインをバージョン2.0.6に更新しました。 Modified: branches/geeklog-new-tree/plugins-jp/filemgmt/functions.inc ============================================================================== --- branches/geeklog-new-tree/plugins-jp/filemgmt/functions.inc (original) +++ branches/geeklog-new-tree/plugins-jp/filemgmt/functions.inc Tue Mar 31 09:11:16 2009 @@ -655,7 +655,7 @@ $result = DB_query ("SELECT topic,limits FROM {$_TABLES['syndication']} WHERE fid = $feed"); $F = DB_fetchArray ($result); - $sql = "SELECT lid,title,submitter,date FROM {$_FM_TABLES['filemgmt_filedetail']}" . filemgmt_buildSql ($F['topic'], $F['limits']); + $sql = "SELECT lid,title,submitter,date FROM {$_FM_TABLES['filemgmt_filedetail']} ORDER BY date DESC " . filemgmt_buildSql ($F['topic'], $F['limits']); $result = DB_query ($sql); $num = DB_numRows ($result); for ($i = 0; $i < $num; $i++) {