Lege einen wiederholbaren Pruefbestand fuer die Bibliothek an
Deploy Test / test (push) Successful in 17s
Deploy Test / deploy (push) Successful in 22s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 08:36:06 +01:00
1 parent c99a957e6f
commit abcdc6908e
3 files changed
+97 -1

No files matched your search

+5 -1
View File
@@ -51,7 +51,11 @@ public function index(User $user): array
continue;
}
$materials[$article->id] = [
$elementId = $release?->rootElementVersion?->element_id;
$key = $composition !== null
? 'komposition-'.$composition->id
: ($elementId !== null ? 'element-'.$elementId : 'artikel-'.$article->id);
$materials[$key] = [
'article' => $article,
'title' => app(CourseOutline::class)->title($article),
'kind' => app(CourseOutline::class)->kindLabel($article),