backport
This commit is contained in:
parent
e72c90a69d
commit
f1b3e3b241
@ -729,7 +729,7 @@ function &serendipity_smarty_printComments($params, &$smarty) {
|
||||
$params['order'] = 'ASC';
|
||||
}
|
||||
|
||||
$comments = serendipity_fetchComments($params['entry'], (int)$params['limit'], $params['order']);
|
||||
$comments = serendipity_fetchComments($params['entry'], (int)$params['limit'], 'co.id ' . $params['order']);
|
||||
|
||||
if (!empty($serendipity['POST']['preview'])) {
|
||||
$comments[] =
|
||||
|
2
rss.php
2
rss.php
@ -90,7 +90,7 @@ switch ($_GET['type']) {
|
||||
case 'comments_and_trackbacks':
|
||||
case 'trackbacks':
|
||||
case 'comments':
|
||||
$entries = serendipity_fetchComments(isset($_GET['cid']) ? $_GET['cid'] : null, $serendipity['RSSfetchLimit'], 'desc', false, $_GET['type']);
|
||||
$entries = serendipity_fetchComments(isset($_GET['cid']) ? $_GET['cid'] : null, $serendipity['RSSfetchLimit'], 'co.id desc', false, $_GET['type']);
|
||||
$description = $title . ' - ' . $description;
|
||||
if (isset($_GET['cid'])) {
|
||||
$title = $title . ' - ' . COMMENTS_FROM . ' "' . $latest_entry[0]['title'] . '"';
|
||||
|
Loading…
x
Reference in New Issue
Block a user