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