mirror of
https://github.com/flarum/core.git
synced 2025-07-12 04:16:24 +02:00
Fix discussion and post list sorting
This commit is contained in:
@ -112,10 +112,10 @@ export default class DiscussionList extends Component {
|
||||
if (this.props.params.q) {
|
||||
map.relevance = '';
|
||||
}
|
||||
map.latest = '-lastTime';
|
||||
map.top = '-commentsCount';
|
||||
map.newest = '-startTime';
|
||||
map.oldest = 'startTime';
|
||||
map.latest = '-lastPostedAt';
|
||||
map.top = '-commentCount';
|
||||
map.newest = '-createdAt';
|
||||
map.oldest = 'createdAt';
|
||||
|
||||
return map;
|
||||
}
|
||||
|
Reference in New Issue
Block a user