Merge pull request #3133 from emanuelschuetze/order-summary
Fixed wrong order of change recommendations in summary box in PDF.
This commit is contained in:
commit
f34c24947a
@ -179,7 +179,7 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf'])
|
|||||||
if ($scope.viewChangeRecommendations.mode == "diff") {
|
if ($scope.viewChangeRecommendations.mode == "diff") {
|
||||||
var columnLineNumbers = [];
|
var columnLineNumbers = [];
|
||||||
var columnChangeType = [];
|
var columnChangeType = [];
|
||||||
angular.forEach($scope.change_recommendations, function(change) {
|
angular.forEach(_.orderBy($scope.change_recommendations, ['line_from']), function(change) {
|
||||||
// line numbers column
|
// line numbers column
|
||||||
var line;
|
var line;
|
||||||
if (change.line_from >= change.line_to - 1) {
|
if (change.line_from >= change.line_to - 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user