mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 11:09:29 +00:00
Do not replace LCSC category slashes with arrows, as these are actually their names, not level separators
This commit is contained in:
parent
065ef9f8ae
commit
b093866d15
1 changed files with 0 additions and 3 deletions
|
|
@ -197,9 +197,6 @@ class LCSCProvider implements InfoProviderInterface
|
|||
$category = $product['parentCatalogName'] ?? null;
|
||||
if (isset($product['catalogName'])) {
|
||||
$category = ($category ?? '') . ' -> ' . $product['catalogName'];
|
||||
|
||||
// Replace the / with a -> for better readability
|
||||
$category = str_replace('/', ' -> ', $category);
|
||||
}
|
||||
|
||||
return new PartDetailDTO(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue