From 9b32db576a1d9d9f89d5d6039f111790e871d13c Mon Sep 17 00:00:00 2001
From: pkupczyk <pkupczyk>
Date: Tue, 4 Sep 2012 12:38:29 +0000
Subject: [PATCH] CCS-6 BaSynthec : Strain DB Integration - correct the columns
 order when reading the data file

SVN: 26511
---
 eu_basynthec/source/html/browser/openbis-basynthec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eu_basynthec/source/html/browser/openbis-basynthec.js b/eu_basynthec/source/html/browser/openbis-basynthec.js
index 6ba6f51ca10..ea715dc3e1a 100644
--- a/eu_basynthec/source/html/browser/openbis-basynthec.js
+++ b/eu_basynthec/source/html/browser/openbis-basynthec.js
@@ -70,8 +70,8 @@ openbis_basynthec.prototype.getStrainsPhenotypesAndPredictions = function(action
 			$.each(response.result.rows, function(index, row){
 				result[row[0].value] = {
 					"name" : row[0].value,
-					"hasPhenotypes" : row[1].value && row[1].value.toUpperCase() == "TRUE",
-					"hasPredictions" : row[2].value && row[2].value.toUpperCase() == "TRUE"
+					"hasPredictions" : row[1].value && row[1].value.toUpperCase() == "TRUE",
+					"hasPhenotypes" : row[2].value && row[2].value.toUpperCase() == "TRUE"
 				}
 			});
 		}
-- 
GitLab