mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-11 09:49:36 +00:00
Added part description as property to KiCad response, to show it also in Kicad 9.0.5 and 9.06
Fixes #1291
This commit is contained in:
parent
6e4d252617
commit
463d7b89f6
2 changed files with 4 additions and 1 deletions
|
|
@ -202,6 +202,7 @@ class KiCadHelper
|
|||
"exclude_from_bom" => $this->boolToKicadBool($part->getEdaInfo()->getExcludeFromBom() ?? $part->getCategory()?->getEdaInfo()->getExcludeFromBom() ?? false),
|
||||
"exclude_from_board" => $this->boolToKicadBool($part->getEdaInfo()->getExcludeFromBoard() ?? $part->getCategory()?->getEdaInfo()->getExcludeFromBoard() ?? false),
|
||||
"exclude_from_sim" => $this->boolToKicadBool($part->getEdaInfo()->getExcludeFromSim() ?? $part->getCategory()?->getEdaInfo()->getExcludeFromSim() ?? false),
|
||||
"description" => $part->getDescription(),
|
||||
"fields" => []
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue