From 0b2182afcb3efa037dcc9e14e9e45721f68ebec4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 8 Jun 2021 16:01:45 +0200 Subject: [PATCH] Fixed: books title was missing --- bookshop/srv/cat-service.cds | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bookshop/srv/cat-service.cds b/bookshop/srv/cat-service.cds index 4cc44dff..e1eb8ad5 100644 --- a/bookshop/srv/cat-service.cds +++ b/bookshop/srv/cat-service.cds @@ -2,8 +2,9 @@ using { sap.capire.bookshop as my } from '../db/schema'; service CatalogService @(path:'/browse') { /** For displaying lists of Books */ - @readonly entity ListOfBooks as projection on Books - excluding { descr }; + @readonly entity ListOfBooks as projection on Books { + ID, title, author, genre, price, currency + } /** For display in details pages */ @readonly entity Books as projection on my.Books { *,