diff --git a/databrowser/src/config/tourism/tag/tag.listView.ts b/databrowser/src/config/tourism/tag/tag.listView.ts index f89b91e1..3bf089ac 100644 --- a/databrowser/src/config/tourism/tag/tag.listView.ts +++ b/databrowser/src/config/tourism/tag/tag.listView.ts @@ -15,18 +15,25 @@ export const tagListView: ListViewConfig = { objectMapping: { text: 'Id' }, }, { - title: 'TagName', + title: 'Name', component: CellComponent.StringCell, class: 'w-60', objectMapping: { text: 'TagName.{language}' }, }, { - title: 'ValidForEntity', + title: 'Valid For', component: CellComponent.ArrayCell, class: 'w-60', objectMapping: { items: 'ValidForEntity' }, params: { separator: ', ' }, }, + { + title: 'Tag Types', + component: CellComponent.ArrayCell, + class: 'w-60', + objectMapping: { items: 'Types' }, + params: { separator: ', ' }, + }, { title: 'Source', component: CellComponent.StringCell, diff --git a/databrowser/src/config/tourism/tag/tag.sharedView.ts b/databrowser/src/config/tourism/tag/tag.sharedView.ts index 5912f59d..ae27195a 100644 --- a/databrowser/src/config/tourism/tag/tag.sharedView.ts +++ b/databrowser/src/config/tourism/tag/tag.sharedView.ts @@ -32,21 +32,6 @@ export const tagSharedView = (): DetailViewConfig | EditViewConfig => ({ component: CellComponent.StringCell, objectMapping: { text: 'TagName.{language}' }, }, - { - title: 'Source', - component: CellComponent.SelectWithOptionsCell, - class: 'w-60', - objectMapping: { - value: 'Source', - }, - params: { - showAddNewValue: 'true', - showValueAsLabelFallback: 'true', - url: withOdhBaseUrl( - '/v1/Distinct?odhtype=tag&fields=Source&rawsort=Source&getasarray=true' - ), - }, - }, { title: 'Types', component: CellComponent.CustomDataArrayCell,