Merge pull request #3133 from emanuelschuetze/order-summary

Fixed wrong order of change recommendations in summary box in PDF.
This commit is contained in:
Norman Jäckel 2017-03-23 00:27:47 +01:00 committed by GitHub
commit f34c24947a

View File

@ -179,7 +179,7 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf'])
if ($scope.viewChangeRecommendations.mode == "diff") {
var columnLineNumbers = [];
var columnChangeType = [];
angular.forEach($scope.change_recommendations, function(change) {
angular.forEach(_.orderBy($scope.change_recommendations, ['line_from']), function(change) {
// line numbers column
var line;
if (change.line_from >= change.line_to - 1) {