mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Allow to show parts in a storelocation or an supplier.
This commit is contained in:
parent
748905c325
commit
31e89e2e36
8 changed files with 107 additions and 6 deletions
|
@ -257,7 +257,9 @@ class EntityURLGenerator
|
|||
$map = [
|
||||
Category::class => 'part_list_category',
|
||||
Footprint::class => 'part_list_footprint',
|
||||
Manufacturer::class => 'part_list_manufacturer'
|
||||
Manufacturer::class => 'part_list_manufacturer',
|
||||
Supplier::class => 'part_list_supplier',
|
||||
Storelocation::class => 'part_list_store_location'
|
||||
];
|
||||
|
||||
return $this->urlGenerator->generate($this->mapToController($map, $entity), ['id' => $entity->getID()]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue