Upgrade to rc5

This commit is contained in:
Bastian Allgeier
2020-12-15 12:21:38 +01:00
parent 3fec0d7c93
commit c378376bc9
257 changed files with 13009 additions and 1846 deletions
+9 -1
View File
@@ -132,6 +132,14 @@ class Files extends Collection
return $this;
}
return $this->filterBy('template', is_array($template) ? 'in' : '==', $template);
if ($template === 'default') {
$template = ['default', ''];
}
return $this->filter(
'template',
is_array($template) ? 'in' : '==',
$template
);
}
}