Skip to content
Permalink
Browse files

After the BarchartCommand changed we now have to search for job group…

…s by id and not by name
  • Loading branch information...
j0weiss committed Nov 5, 2019
1 parent b57386f commit a7975839a92907661c008f9666333198b3c5de56
@@ -53,7 +53,7 @@ class CsiBenchmarkController extends ExceptionHandlerController {
}

String selectedCsiType = params.csiType == "visuallyComplete" ? 'csByWptVisuallyCompleteInPercent' : 'csByWptDocCompleteInPercent'
List<JobGroup> allJobGroups = JobGroup.findAllByNameInList(cmd.jobGroups)
List<JobGroup> allJobGroups = JobGroup.findAllByIdInList(cmd.jobGroups)

CsiAggregationInterval interval = CsiAggregationInterval.findByIntervalInMinutes(CsiAggregationInterval.DAILY)

@@ -106,8 +106,8 @@
data: {
from: selectedTimeFrame[0].toISOString(),
to: selectedTimeFrame[1].toISOString(),
selectedJobGroups: JSON.stringify($.map($("#folderSelectHtmlId option:selected"), function (e) {
return $(e).text()
jobGroups: JSON.stringify($.map($("#folderSelectHtmlId option:selected"), function (e) {
return parseInt(e.value);
})),
csiType: $('input[name=csiTypeRadios]:checked').val()
},

0 comments on commit a797583

Please sign in to comment.
You can’t perform that action at this time.