mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
BUGFIX: cannot sort topic
This commit is contained in:
@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user