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