FIX: add attributes of params to topic findOpts.

If `params` is ignored then `findTopicList` won't get the `no_subcategories` attribute.

d27b877a40333cc6bc94984016071b5660da7f0f
This commit is contained in:
Vinoth Kannan 2020-06-10 01:33:58 +05:30
parent 43e17f92e0
commit f67e7d2fad

View File

@ -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(