mirror of
https://github.com/flarum/framework.git
synced 2025-04-27 07:04:03 +08:00
Fix #627
This commit is contained in:
parent
153a82e937
commit
a80d72d165
@ -115,7 +115,7 @@ export default class DiscussionList extends Component {
|
|||||||
map.latest = '-lastTime';
|
map.latest = '-lastTime';
|
||||||
map.top = '-commentsCount';
|
map.top = '-commentsCount';
|
||||||
map.newest = '-startTime';
|
map.newest = '-startTime';
|
||||||
map.oldest = '+startTime';
|
map.oldest = 'startTime';
|
||||||
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ class IndexController extends ClientController
|
|||||||
'latest' => '-lastTime',
|
'latest' => '-lastTime',
|
||||||
'top' => '-commentsCount',
|
'top' => '-commentsCount',
|
||||||
'newest' => '-startTime',
|
'newest' => '-startTime',
|
||||||
'oldest' => '+startTime'
|
'oldest' => 'startTime'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user