]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21467 Fix new issues and new accepted issues redirecting to new code issues...
authorstanislavh <stanislav.honcharov@sonarsource.com>
Mon, 29 Jan 2024 10:48:27 +0000 (11:48 +0100)
committersonartech <sonartech@sonarsource.com>
Mon, 29 Jan 2024 20:03:17 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/overview/branches/NewCodeMeasuresPanel.tsx

index f4eb31379e4ffbf216068e38f7f17388545f3933..b7757bbfb076e55d21f7dd2debd7b7efae44c80d 100644 (file)
@@ -107,7 +107,7 @@ export default function NewCodeMeasuresPanel(props: Readonly<Props>) {
           url={getComponentIssuesUrl(component.key, {
             ...getBranchLikeQuery(branch),
             ...DEFAULT_ISSUES_QUERY,
-            isNewCodePeriod: 'true',
+            inNewCodePeriod: 'true',
           })}
           failed={issuesConditionFailed}
           icon={issuesConditionFailed && <TrendUpCircleIcon />}
@@ -126,7 +126,7 @@ export default function NewCodeMeasuresPanel(props: Readonly<Props>) {
           url={getComponentIssuesUrl(component.key, {
             ...getBranchLikeQuery(branch),
             issueStatuses: IssueStatus.Accepted,
-            isNewCodePeriod: 'true',
+            inNewCodePeriod: 'true',
           })}
           footer={
             <TextSubdued className="sw-body-xs">