Show attachments in part info

WIP: viewing and downloading attachments is not possible yet.
This commit is contained in:
Jan Böhmer 2019-08-06 18:47:09 +02:00
parent 717b257778
commit 01a83d388b
8 changed files with 269 additions and 16 deletions

View file

@ -702,7 +702,7 @@ class Part extends AttachmentContainingDBElement
$master_picture = $this->getMasterPictureAttachement(); // returns an Attachement-object
if (null !== $master_picture) {
return $master_picture->getFilename();
return $master_picture->getPath();
}
if ($use_footprint_filename) {