This commit is contained in:
ghost 2024-02-13 01:55:06 +02:00
parent 3373b57d1e
commit 20c040a45f

View File

@ -132,17 +132,17 @@ class Manticore
}
public function get(
?string $search = '',
?string $query = '',
?array $filter = [],
?array $sort = ['id' => 'desc'],
?int $offset = 0,
?int $limit = 2
?int $limit = 10
): array
{
$records = [];
$search = $this->_index->search(
$search
$query
);
foreach ($filter as $key => $value)