Skip to content

A platform for community discussion. Free, open, simple.

FIX: `loadBefore` should include current params as well.

Guo Xiang Tane7cc2e6d33d3
diff --git a/app/assets/javascripts/discourse/models/topic-list.js.es6 b/app/assets/javascripts/discourse/models/topic-list.js.es6
index 61fdac3e298..61ee322a387 100644
--- a/app/assets/javascripts/discourse/models/topic-list.js.es6
+++ b/app/assets/javascripts/discourse/models/topic-list.js.es6
@@ -80,7 +80,7 @@ const TopicList = RestModel.extend({
const url = `${Discourse.getURL("/")}${this.get('filter')}.json?topic_ids=${topic_ids.join(",")}`;
const store = this.store;
- return ajax({ url }).then(result => {
+ return ajax({ url, data: this.get("params") }).then(result => {
let i = 0;
topicList.forEachNew(TopicList.topicsFrom(store, result), function(t) {
// highlight the first of the new topics so we can get a visual feedback