mirror of
https://github.com/flarum/core.git
synced 2025-08-07 17:07:19 +02:00
fixes the parent include for tags when visiting index from any other page
This commit is contained in:
committed by
Daniël Klabbers
parent
9627e40e72
commit
51790494ce
@@ -85,7 +85,7 @@ export default function() {
|
|||||||
|
|
||||||
// Translate that parameter into a gambit appended to the search query.
|
// Translate that parameter into a gambit appended to the search query.
|
||||||
extend(DiscussionListState.prototype, 'requestParams', function(params) {
|
extend(DiscussionListState.prototype, 'requestParams', function(params) {
|
||||||
params.include.push('tags');
|
params.include.push('tags', 'tags.parent');
|
||||||
|
|
||||||
if (this.params.tags) {
|
if (this.params.tags) {
|
||||||
params.filter.tag = this.params.tags;
|
params.filter.tag = this.params.tags;
|
||||||
|
Reference in New Issue
Block a user