Add field to cover tag relations (tag_relation_type)

Close #29
This commit is contained in:
2023-05-14 17:06:49 +02:00
parent 3ee4174863
commit ddf26e7e52
12 changed files with 21 additions and 12 deletions

View File

@ -1276,7 +1276,7 @@ final class CsvxmlAvailableFields {
for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag{$i}"] = new FieldEntry(
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag" . $i] = new FieldEntry(
false,
[],
[],
@ -1284,6 +1284,14 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("overview", "overview", 'tags'),
"",
);
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag_relation_type" . $i] = new FieldEntry(
false,
MDTagRelationType::caseNames(),
["tag" . $i],
'',
$tlLoader->tl("object_addendum", "object_add", 'tag_relation_type'),
$tlLoader->tl("object_addendum", "object_add", 'tag_relation_type_explica'),
);
}