From 5aebc3de44279f18e3a9ea261c144650c2af2d50 Mon Sep 17 00:00:00 2001
From: Jaden Diefenbaugh <blakcap@users.noreply.github.com>
Date: Tue, 14 Mar 2017 13:45:19 +0100
Subject: [PATCH] show protocol as well as db for exps lists

---
 .../static/reports/app/directives/edit/panelExperiments.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/beat/web/reports/static/reports/app/directives/edit/panelExperiments.js b/beat/web/reports/static/reports/app/directives/edit/panelExperiments.js
index 3a4615fdc..7bd0d7702 100644
--- a/beat/web/reports/static/reports/app/directives/edit/panelExperiments.js
+++ b/beat/web/reports/static/reports/app/directives/edit/panelExperiments.js
@@ -44,7 +44,7 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService',
 			};
 			scope.getExpDatabases = (expName) => {
 				let dbs = scope.experiments[expName].declaration.datasets;
-				return Array.from(new Set(Object.values(dbs).map(db => db.database)));
+				return Array.from(new Set(Object.values(dbs).map(db => `${db.database}@${db.protocol}`)));
 			};
 			scope.getAnalyzerFromExpName = ExperimentsService.getAnalyzerFromExpName;
 			scope.getExpUrl = UrlService.getExperimentUrl;
@@ -94,7 +94,7 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService',
 				<tr>
 					<th></th>
 					<th>Experiment</th>
-					<th>Databases</th>
+					<th>Databases/Protocols</th>
 					<th>Alias</th>
 				</tr>
 			</thead>
-- 
GitLab