Commit 58822242 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

overlays with many reactions work properly

parent a821b045
minerva (11.0.4) stable; urgency=medium
* Bug fix: fix on connection to taxonomy database
* Bug fix: color coding for reactions (wrong color was chosen)
* Bug fix: overlays with many reactions did not work properly
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 09 Nov 2017 14:50:00 +0200
......
......@@ -846,11 +846,15 @@ ServerConnector.getReactions = function (params) {
var filterParams = {
id: params.ids,
columns: params.columns,
participantId: params.participantId,
participantId: params.participantId
};
return self.getProjectId(params.projectId).then(function (result) {
queryParams.projectId = result;
return self.readFile(self.getReactionsUrl(queryParams, filterParams));
if (filterParams.id.length > 100) {
return self.sendPostRequest(self.getReactionsUrl(queryParams), filterParams);
} else {
return self.readFile(self.getReactionsUrl(queryParams, filterParams));
}
}).then(function (content) {
var array = JSON.parse(content);
var result = [];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment