mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-18 09:54:35 +02:00
Merge branch 'master' into api
This commit is contained in:
commit
85f3ba6aaa
35 changed files with 1219 additions and 878 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