mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 01:29:33 +00:00
Show the packe type (Tape&Reel, Box, etc.) as footprint in digikey provider search
This commit is contained in:
parent
10ae945c98
commit
18f8b4647d
1 changed files with 1 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ class DigikeyProvider implements InfoProviderInterface
|
||||||
preview_image_url: $product['PhotoUrl'] ?? null,
|
preview_image_url: $product['PhotoUrl'] ?? null,
|
||||||
manufacturing_status: $this->productStatusToManufacturingStatus($product['ProductStatus']['Id']),
|
manufacturing_status: $this->productStatusToManufacturingStatus($product['ProductStatus']['Id']),
|
||||||
provider_url: $product['ProductUrl'],
|
provider_url: $product['ProductUrl'],
|
||||||
|
footprint: $variation['PackageType']['Name'], //Use the footprint field, to show the user the package type (Tape & Reel, etc., as digikey has many different package types)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue