diff --git a/app/assets/javascripts/discourse/models/topic_list.js b/app/assets/javascripts/discourse/models/topic_list.js index 8a926588af0..62983e611d8 100644 --- a/app/assets/javascripts/discourse/models/topic_list.js +++ b/app/assets/javascripts/discourse/models/topic_list.js @@ -128,15 +128,7 @@ Discourse.TopicList.reopenClass({ if (result) { // the new topics loaded from the server var newTopics = Discourse.TopicList.topicsFrom(result); - - var topics = _(topic_ids) - .map(function(id){ - return newTopics.find(function(t){ return t.id === id; }); - }) - .compact() - .value(); - - defer.resolve(topics); + defer.resolve(newTopics); } else { defer.reject(); }