mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Removed dump functions.
This commit is contained in:
parent
4c5b5b6df0
commit
fe7ce39042
2 changed files with 0 additions and 3 deletions
|
@ -82,7 +82,6 @@ class PartListsController extends AbstractController
|
|||
public function showSearch(Request $request, DataTableFactory $dataTable, string $keyword = "")
|
||||
{
|
||||
$search = $keyword;
|
||||
dump($search);
|
||||
|
||||
$table = $dataTable->createFromType(PartsDataTable::class, ['search' => $search])
|
||||
->handleRequest($request);
|
||||
|
|
|
@ -67,8 +67,6 @@ class PartsDataTable implements DataTableTypeInterface
|
|||
$builder->andWhere('part.tags LIKE :tag')->setParameter('tag', '%' . $options['tag'] . '%');
|
||||
}
|
||||
|
||||
dump($options['search']);
|
||||
|
||||
if (isset($options['search'])) {
|
||||
$builder->AndWhere('part.name LIKE :search')->orWhere('part.description LIKE :search')->orWhere('part.comment LIKE :search')
|
||||
->setParameter('search', '%' . $options['search'] . '%');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue