From 7f88752d711e8de01307c1ee4b5952dc297a01ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Fri, 6 May 2022 10:18:19 +0200
Subject: [PATCH] fix: PAB number of falls: display calculated parameter first,
 after variated parameters and before extra results

refs #534
---
 src/app/results/var-results.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/results/var-results.ts b/src/app/results/var-results.ts
index 834853ba4..705d514fb 100644
--- a/src/app/results/var-results.ts
+++ b/src/app/results/var-results.ts
@@ -355,6 +355,7 @@ export class VarResults extends CalculatedParamResults implements PlottableData
         // result keys (extra or not) - some lines might miss some results, in case of an error;
         // use those keys to ensure all columns are filled
         if (this.resultKeys.length === 0) {
+            this.resultKeys.push(this.result.symbol);
             for (const re of this.result.resultElements) { // re:ResultElement
                 for (const erk in re.values) {
                     if (!this.resultKeys.includes(erk)) {
-- 
GitLab