From 552a905161560fbddb40714a15b7bf42261efb32 Mon Sep 17 00:00:00 2001 From: Rogerio Peixoto Date: Mon, 30 Aug 2021 16:53:40 +0100 Subject: [PATCH] fix: full descriptions integration (#4126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rogério Peixoto --- pkg/descriptions/descriptions.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/descriptions/descriptions.go b/pkg/descriptions/descriptions.go index 5228d8a2645..6e6ff205313 100644 --- a/pkg/descriptions/descriptions.go +++ b/pkg/descriptions/descriptions.go @@ -27,7 +27,8 @@ func RequestAndOverrideDescriptions(summary *model.Summary) error { } for idx := range summary.Queries { - if descriptionMap[summary.Queries[idx].DescriptionID].DescriptionID == "" { + if descriptionMap[summary.Queries[idx].DescriptionID].DescriptionID == "" && + descriptionMap[summary.Queries[idx].DescriptionID].RationaleText == "" { continue } descriptionID := summary.Queries[idx].DescriptionID