mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-15 01:39:42 +00:00
fix fatal errors
This commit is contained in:
@@ -80,7 +80,7 @@ class EventSearch extends AbstractSearch
|
|||||||
$this->paginationFactory = $paginatorFactory;
|
$this->paginationFactory = $paginatorFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supports($domain)
|
public function supports($domain, $format)
|
||||||
{
|
{
|
||||||
return 'event' === $domain or 'events' === $domain;
|
return 'event' === $domain or 'events' === $domain;
|
||||||
}
|
}
|
||||||
@@ -96,7 +96,7 @@ class EventSearch extends AbstractSearch
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function renderResult(array $terms, $start = 0, $limit = 50,
|
public function renderResult(array $terms, $start = 0, $limit = 50,
|
||||||
array $options = array())
|
array $options = array(), $format = 'html')
|
||||||
{
|
{
|
||||||
$total = $this->count($terms);
|
$total = $this->count($terms);
|
||||||
$paginator = $this->paginationFactory->create($total);
|
$paginator = $this->paginationFactory->create($total);
|
||||||
|
Reference in New Issue
Block a user