Ergaenze Stammdaten, Suche, Dimensionen, Abdeckung und Ausgabenachweis
Deploy Test / test (push) Successful in 17s
Deploy Test / deploy (push) Successful in 25s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 08:24:23 +01:00
1 parent 7b54c38623
commit 5e763d15ec
23 files changed
+661 -5

No files matched your search

+7 -2
View File
@@ -20,8 +20,13 @@ public function title(LicenseArticle $article): string
'rootElementVersion.element',
]);
return $release->rootCompositionVersion?->composition?->designation
?? $release->rootElementVersion?->element?->working_title
$composition = $release->rootCompositionVersion?->composition;
$element = $release->rootElementVersion?->element;
return (filled($composition?->display_title) ? $composition->display_title : null)
?? $composition?->designation
?? (filled($element?->display_title) ? $element->display_title : null)
?? $element?->working_title
?? $release->classification_note
?? $article->code;
}