mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:28:59 +08:00
BUGFIX: cannot sort topic
This commit is contained in:
parent
9ab5b3a123
commit
2a89f51d19
|
@ -65,7 +65,8 @@ Discourse.TopicList = Discourse.Model.extend({
|
|||
params.sort_descending = sortOrder.get('descending');
|
||||
|
||||
this.set('loaded', false);
|
||||
finderFor(this.get('filter'), params).then(function (result) {
|
||||
var finder = finderFor(this.get('filter'), params);
|
||||
finder().then(function (result) {
|
||||
var newTopics = Discourse.TopicList.topicsFrom(result),
|
||||
topics = self.get('topics');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user