Halte deaktivierte Bestandteile im Aufbau, damit die Freigabe sie anzeigt.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d12ba67b45
commit
dd67741f35
7 files changed
+93
-26
No files matched your search
@@ -676,7 +676,7 @@ public function childrenOf(string $target): string
|
||||
continue;
|
||||
}
|
||||
|
||||
$row = app(EditorialCatalog::class)->rowForTarget((string) ($member['target'] ?? ''), (int) $this->getRecord()->getKey(), allowSelf: true, allowDraft: true);
|
||||
$row = app(EditorialCatalog::class)->rowForTarget((string) ($member['target'] ?? ''), (int) $this->getRecord()->getKey(), allowSelf: true, allowDraft: true, allowBlocked: true);
|
||||
$lines[] = trim((string) ($member['role'] ?? '')).': '.($row['title'] ?? 'Bestandteil');
|
||||
}
|
||||
|
||||
@@ -1622,7 +1622,7 @@ protected function applyDraft(array $draft): void
|
||||
}
|
||||
|
||||
$requested++;
|
||||
$row = $catalog->rowForTarget((string) ($member['target'] ?? ''), (int) $this->getRecord()->getKey(), allowSelf: true, allowDraft: true);
|
||||
$row = $catalog->rowForTarget((string) ($member['target'] ?? ''), (int) $this->getRecord()->getKey(), allowSelf: true, allowDraft: true, allowBlocked: true);
|
||||
|
||||
if ($row === null) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user