From dbe54f96962e4bd73a6b5d785cccb13775464ffb Mon Sep 17 00:00:00 2001 From: SrdjanStevanetic Date: Wed, 18 Dec 2024 18:18:02 +0100 Subject: [PATCH] change standard profile for items.meta (temporary fix) --- .../web/service/controller/jsonld/SearchUserSetRest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/set-web/src/main/java/eu/europeana/set/web/service/controller/jsonld/SearchUserSetRest.java b/set-web/src/main/java/eu/europeana/set/web/service/controller/jsonld/SearchUserSetRest.java index bc57f238..122c1b51 100644 --- a/set-web/src/main/java/eu/europeana/set/web/service/controller/jsonld/SearchUserSetRest.java +++ b/set-web/src/main/java/eu/europeana/set/web/service/controller/jsonld/SearchUserSetRest.java @@ -71,10 +71,14 @@ public ResponseEntity searchUserSet( HttpServletRequest request) throws HttpException { try { - // authorization Authentication authentication = verifyReadAccess(request); + //TODO: temporary fix to remove later + if(ProfileConstants.VALUE_PARAM_STANDARD.equals(profileStr)) { + profileStr=ProfileConstants.VALUE_PARAM_ITEMS_META; + } + // validate params - profile List profiles = getProfilesFromRequest(profileStr, request); validateMultipleProfiles(profiles, profileStr);