Skip to content
Snippets Groups Projects
Commit 58822242 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

overlays with many reactions work properly

parent a821b045
No related branches found
No related tags found
2 merge requests!132bug fixes from 11.0.4 into 11.1.x,!130Resolve "overlay with many reactions doesn't work"
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 = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment