Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion assets/javascripts/discourse/routes/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ export default class List extends DiscourseRoute {
if (!topicList) {
return this.router.replaceWith("/404");
}
return await this.store.findFiltered("topicList", {
const list = await this.store.findFiltered("topicList", {
filter: "filter",
params: { q: topicList.query },
});
list.set("path", topicList.path);
return list;
}
}
1 change: 1 addition & 0 deletions assets/javascripts/discourse/templates/list.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{body-class (concat-class "custom-list-body" this.model.path)}}
<Discovery::Layout @model={{this.model}}>
<:navigation>
<section class="navigation-container">
Expand Down