mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 01:44:31 +02:00
Fixed PartKeepr import for storagelocation attachments
This should fix issue #334
This commit is contained in:
parent
a43ee52086
commit
73d61f7440
1 changed files with 1 additions and 2 deletions
|
@ -265,8 +265,7 @@ class PKDatastructureImporter
|
|||
{
|
||||
$count = $this->importElementsWithCategory($data, Storelocation::class, 'storagelocation');
|
||||
|
||||
//Footprints have both attachments and images
|
||||
$this->importAttachments($data, 'storagelocationimage', Storelocation::class, 'footprint_id', StorelocationAttachment::class);
|
||||
$this->importAttachments($data, 'storagelocationimage', Storelocation::class, 'storageLocation_id', StorelocationAttachment::class);
|
||||
|
||||
return $count;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue