mirror of
https://github.com/flextype/flextype.git
synced 2025-08-18 19:01:40 +02:00
- method fetchALL() issue with fetching entries recursively. - remove unused Shortcodes code from method fetch()
This commit is contained in:
@@ -45,8 +45,8 @@ class EntriesTwigExtension extends \Twig_Extension
|
||||
return $this->flextype['entries']->fetch($entry);
|
||||
}
|
||||
|
||||
public function fetchAll(string $entry, string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null) : array
|
||||
public function fetchAll(string $entry, string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null, bool $recursive = false) : array
|
||||
{
|
||||
return $this->flextype['entries']->fetchAll($entry, $order_by, $order_type, $offset, $length);
|
||||
return $this->flextype['entries']->fetchAll($entry, $order_by, $order_type, $offset, $length, $recursive);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user