mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
fixes the parent include for tags when visiting index from any other page
This commit is contained in:
parent
9627e40e72
commit
51790494ce
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user