1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +02:00

Always use default includes when preloading discussion list

Making them explicit causes problems when extensions want to include
something by default (e.g. tags)
This commit is contained in:
Toby Zerner
2015-07-22 10:11:23 +09:30
parent 57f55c2dd6
commit 4fb292a777
2 changed files with 6 additions and 7 deletions

View File

@@ -32,9 +32,9 @@ class IndexAction extends SerializeCollectionAction
'lastUser' => true,
'startPost' => false,
'lastPost' => false,
'relevantPosts' => false,
'relevantPosts.discussion' => false,
'relevantPosts.user' => false
'relevantPosts' => true,
'relevantPosts.discussion' => true,
'relevantPosts.user' => true
];
/**