Add fields for linked objects
phpcs-errors:241 phpunit-status:successful
This commit is contained in:
parent
8c8449e92a
commit
61854030ff
|
@ -689,6 +689,7 @@ $availableFields = [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
$overview['links'] => [],
|
$overview['links'] => [],
|
||||||
|
$overview['links'] . ": " . $basis['single_object'] => [],
|
||||||
$basis['literature'] => [],
|
$basis['literature'] => [],
|
||||||
$basis['objectgroup'] => [],
|
$basis['objectgroup'] => [],
|
||||||
$overview['tags'] => [],
|
$overview['tags'] => [],
|
||||||
|
@ -761,6 +762,30 @@ for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) {
|
||||||
|
|
||||||
|
$availableFields[$overview['links'] . ": " . $basis['single_object']] = array_merge($availableFields[$overview['links'] . ": " . $basis['single_object']],
|
||||||
|
[
|
||||||
|
"linked_obj_invno{$i}" => [
|
||||||
|
"required" => false,
|
||||||
|
"allowedValues" => [],
|
||||||
|
"dependsOn" => ["linked_obj_show{$i}"],
|
||||||
|
"remark" => '',
|
||||||
|
"name_human_readable" => "Inventarnummer des verknüpften Objektes",
|
||||||
|
"explica" => "",
|
||||||
|
],
|
||||||
|
"linked_obj_show{$i}" => [
|
||||||
|
"required" => false,
|
||||||
|
"allowedValues" => [],
|
||||||
|
"dependsOn" => ["linked_obj_invno{$i}"],
|
||||||
|
"remark" => '',
|
||||||
|
"name_human_readable" => "Verknüpftes Objekt: Text",
|
||||||
|
"explica" => "",
|
||||||
|
],
|
||||||
|
]);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
|
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) {
|
||||||
|
|
||||||
$availableFields[$basis['literature']] = array_merge($availableFields[$basis['literature']],
|
$availableFields[$basis['literature']] = array_merge($availableFields[$basis['literature']],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user