mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
BUGFIX: cannot sort topic
This commit is contained in:
parent
9ab5b3a123
commit
2a89f51d19
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue