mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-06 08:24:35 +02:00
Added a filter to filter for parts which are used in a specific project
Related to issue #516
This commit is contained in:
parent
934acca934
commit
04d1e84596
4 changed files with 35 additions and 0 deletions
|
@ -383,6 +383,9 @@ final class PartsDataTable implements DataTableTypeInterface
|
|||
if (str_contains($dql, '_parameters')) {
|
||||
$builder->leftJoin('part.parameters', '_parameters');
|
||||
}
|
||||
if (str_contains($dql, '_projectBomEntries')) {
|
||||
$builder->leftJoin('part.project_bom_entries', '_projectBomEntries');
|
||||
}
|
||||
|
||||
return $builder;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue