From 278b9ebf7f7f3ded45441edd5cb7dee3c308a1cf Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Mon, 27 Apr 2020 16:40:36 +0200 Subject: [PATCH] Fiori: Show and edit author name instead of its ID Same for genre --- fiori/app/common.cds | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fiori/app/common.cds b/fiori/app/common.cds index c4077104..5890b2d9 100644 --- a/fiori/app/common.cds +++ b/fiori/app/common.cds @@ -60,10 +60,11 @@ annotate my.Books with { ID @title:'{i18n>ID}' @UI.HiddenFilter; title @title:'{i18n>Title}'; genre @title:'{i18n>Genre}'; - author @title:'{i18n>AuthorID}'; + author @title:'{i18n>Author}' @Common: { Text: author.name, TextArrangement: #TextOnly }; price @title:'{i18n>Price}'; stock @title:'{i18n>Stock}'; descr @UI.MultiLineText; + genre @Common: { Text: genre.name, TextArrangement: #TextOnly }; } annotate my.Genres with {