From f67e7d2fad48012de73c45f3a91dba97652e6d7f Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Wed, 10 Jun 2020 01:33:58 +0530 Subject: [PATCH] FIX: add attributes of `params` to topic `findOpts`. If `params` is ignored then `findTopicList` won't get the `no_subcategories` attribute. d27b877a40333cc6bc94984016071b5660da7f0f --- .../javascripts/discourse/app/routes/build-category-route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/routes/build-category-route.js b/app/assets/javascripts/discourse/app/routes/build-category-route.js index aa6da5804d3..a28b6c84710 100644 --- a/app/assets/javascripts/discourse/app/routes/build-category-route.js +++ b/app/assets/javascripts/discourse/app/routes/build-category-route.js @@ -136,7 +136,7 @@ export default (filterArg, params) => { const listFilter = `c/${Category.slugFor(category)}/${ category.id }/l/${this.filter(category)}`, - findOpts = filterQueryParams(modelParams), + findOpts = filterQueryParams(modelParams, params), extras = { cached: this.isPoppedState(transition) }; return findTopicList(