From cd1b10b30ca6e19ba9cc93c0b9de4ef9a0d35f71 Mon Sep 17 00:00:00 2001 From: hiranyakavishani Date: Mon, 13 Nov 2023 07:24:19 +0530 Subject: [PATCH] Adding missing attributes to search content --- .../main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java index 74bbaa33b8a8..1c2b066a9ad9 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java +++ b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java @@ -5178,6 +5178,8 @@ public Map searchPaginatedContent(String searchQuery, String org api.setContext(publiserAPI.getContext()); api.setContextTemplate(publiserAPI.getContext()); api.setStatus(publiserAPI.getStatus()); + api.setDescription(publiserAPI.getDescription()); + api.setType(publiserAPI.getTransportType()); api.setThumbnailUrl(publiserAPI.getThumbnailUri()); api.setBusinessOwner(publiserAPI.getBusinessOwner()); api.setBusinessOwnerEmail(publiserAPI.getBusinessOwnerEmail()); @@ -5194,6 +5196,7 @@ public Map searchPaginatedContent(String searchQuery, String org api.setUuid(publiserAPI.getId()); api.setContextTemplate(publiserAPI.getContext()); api.setState(publiserAPI.getStatus()); + api.setDescription(publiserAPI.getDescription()); api.setThumbnailUrl(publiserAPI.getThumbnailUri()); api.setBusinessOwner(publiserAPI.getBusinessOwner()); api.setBusinessOwnerEmail(publiserAPI.getBusinessOwnerEmail());