mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: loadBefore
should include current params as well.
This commit is contained in:
parent
e162cd16b6
commit
e7cc2e6d33
@ -80,7 +80,7 @@ const TopicList = RestModel.extend({
|
|||||||
const url = `${Discourse.getURL("/")}${this.get('filter')}.json?topic_ids=${topic_ids.join(",")}`;
|
const url = `${Discourse.getURL("/")}${this.get('filter')}.json?topic_ids=${topic_ids.join(",")}`;
|
||||||
const store = this.store;
|
const store = this.store;
|
||||||
|
|
||||||
return ajax({ url }).then(result => {
|
return ajax({ url, data: this.get("params") }).then(result => {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
topicList.forEachNew(TopicList.topicsFrom(store, result), function(t) {
|
topicList.forEachNew(TopicList.topicsFrom(store, result), function(t) {
|
||||||
// highlight the first of the new topics so we can get a visual feedback
|
// highlight the first of the new topics so we can get a visual feedback
|
||||||
|
Loading…
Reference in New Issue
Block a user