Ergänze die gemeinsame redaktionelle Basis an den Fachobjekten.
CI Feature / test (push) Successful in 54s
Deploy Test / test (push) Successful in 47s
Deploy Test / deploy (push) Successful in 24s

Texte, Materialart und Präsentationsmedien bleiben am Medium, Modul, Programm und Lizenzartikel und werden von Verwaltung und Karten aus derselben Quelle gelesen, ohne Fassung oder Lizenz zu verändern.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-19 07:54:36 +01:00
1 parent c4be6ed8dc
commit f29ea58fd5
40 files changed
+2311 -20

No files matched your search

@@ -2,6 +2,7 @@
namespace App\Filament\Resources\ContentElements\Pages;
use App\Domain\Catalog\EditorialContentKind;
use App\Filament\Resources\ContentElements\ContentElementResource;
use App\Filament\Support\MediaLibrary;
use App\Filament\Support\MediumForm;
@@ -46,6 +47,9 @@ class ListContentElements extends ListRecords
#[Url(as: 'saeule', except: '')]
public string $saeule = '';
#[Url(as: 'inhaltsart', except: '')]
public string $inhaltsart = '';
#[Url(as: 'einordnung', except: '')]
public string $einordnung = '';
@@ -112,6 +116,14 @@ public function classificationOptions(): array
return app(MediaLibrary::class)->classifications();
}
/**
* @return array<int, string>
*/
public function contentKindOptions(): array
{
return EditorialContentKind::selectOptions();
}
public function filtersActive(): bool
{
return trim($this->suche) !== ''
@@ -122,6 +134,7 @@ public function filtersActive(): bool
|| $this->nutzung !== ''
|| $this->saeule !== ''
|| $this->einordnung !== ''
|| $this->inhaltsart !== ''
|| $this->verarbeitung !== ''
|| $this->archiv !== 'aktiv';
}
@@ -136,6 +149,7 @@ public function resetFilters(): void
$this->nutzung = '';
$this->saeule = '';
$this->einordnung = '';
$this->inhaltsart = '';
$this->verarbeitung = '';
$this->archiv = 'aktiv';
}
@@ -154,6 +168,7 @@ private function libraryFilters(): array
'nutzung' => $this->nutzung,
'saeule' => $this->saeule,
'einordnung' => $this->einordnung,
'inhaltsart' => $this->inhaltsart,
'verarbeitung' => $this->verarbeitung,
'archiv' => $this->archiv,
];