mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-22 11:21:31 +00:00
Handle linter errors, add missing changes in TagFinder
This commit is contained in:
parent
3a3ad1e147
commit
adf95f6f84
3 changed files with 20 additions and 15 deletions
|
|
@ -140,8 +140,8 @@ class SelectAPIController extends AbstractController
|
|||
#[Route(path: '/tag', name: 'select_tag')]
|
||||
public function getResponseForTags(EntityManagerInterface $entityManager): Response
|
||||
{
|
||||
$tf = new TagFinder($entityManager, ['min_keyword_length' => 2, 'query_limit' => 250]);
|
||||
$list = $tf->listTags('__'); // return every tag with at least two characters!
|
||||
$tf = new TagFinder($entityManager);
|
||||
$list = $tf->listTags('__', ['min_keyword_length' => 2, 'query_limit' => 250]); // return every tag with at least two characters!
|
||||
|
||||
$entries = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue