fixes the parent include for tags when visiting index from any other page

This commit is contained in:
Daniel Klabbers 2021-06-11 00:15:21 +02:00 committed by Daniël Klabbers
parent 9627e40e72
commit 51790494ce

View File

@ -85,7 +85,7 @@ export default function() {
// Translate that parameter into a gambit appended to the search query.
extend(DiscussionListState.prototype, 'requestParams', function(params) {
params.include.push('tags');
params.include.push('tags', 'tags.parent');
if (this.params.tags) {
params.filter.tag = this.params.tags;