mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
add possibility to generate filter/order elements, with only search box
for now
This commit is contained in:
@@ -6,7 +6,7 @@ use Chill\ThirdPartyBundle\Entity\ThirdParty;
|
||||
|
||||
interface ThirdPartyACLAwareRepositoryInterface
|
||||
{
|
||||
public function countThirdParties(string $role): int;
|
||||
public function countThirdParties(string $role, ?string $filterString): int;
|
||||
|
||||
/**
|
||||
* @param string $role
|
||||
@@ -17,8 +17,9 @@ interface ThirdPartyACLAwareRepositoryInterface
|
||||
*/
|
||||
public function listThirdParties(
|
||||
string $role,
|
||||
?string $filterString,
|
||||
?array $orderBy = [],
|
||||
int $limit = null,
|
||||
int $offset = null
|
||||
?int $limit = 0,
|
||||
?int $offset = 50
|
||||
): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user