Fix issue causing blogs to only work publicly when nested under another blog

This commit is contained in:
UndefinedOffset 2015-10-30 16:00:46 -03:00
parent adbbf1ab00
commit ea6b046f82

View File

@ -8,6 +8,12 @@
* @subpackage blog
*/
class BlogFilter extends Lumberjack {
public static function get_extra_config($class, $extension, $args) {
return array(
'has_one' => array('Parent' => 'SiteTree')
);
}
/**
* {@inheritdoc}
*/