diff --git a/.travis.yml b/.travis.yml
index 5a2df9325..8740418cb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,6 +30,6 @@ script:
- coverage report --fail-under=44
- DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.integration
- - coverage report --fail-under=74
+ - coverage report --fail-under=73
- DJANGO_SETTINGS_MODULE='tests.settings' ./manage.py test tests.old
diff --git a/openslides/motions/static/js/motions/docx.js b/openslides/motions/static/js/motions/docx.js
index 0e6f92d15..172d3b72b 100644
--- a/openslides/motions/static/js/motions/docx.js
+++ b/openslides/motions/static/js/motions/docx.js
@@ -80,7 +80,7 @@ angular.module('OpenSlidesApp.motions.docx', ['OpenSlidesApp.core.docx'])
var getMotionShortData = function (motions) {
return _.map(motions, function (motion) {
return {
- identifier: motion.identifier,
+ identifier: motion.identifier || '',
title: motion.getTitle(),
};
});
@@ -113,7 +113,7 @@ angular.module('OpenSlidesApp.motions.docx', ['OpenSlidesApp.core.docx'])
sequential_enabled: sequential_enabled,
// Actual data
id: motion.id,
- identifier: motion.identifier,
+ identifier: motion.identifier || '',
title: motion.getTitle(),
submitters: params.include.submitters ? _.map(motion.submitters, function (submitter) {
return submitter.get_full_name();
diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js
index 547999e97..086d0c46f 100644
--- a/openslides/motions/static/js/motions/site.js
+++ b/openslides/motions/static/js/motions/site.js
@@ -782,21 +782,6 @@ angular.module('OpenSlidesApp.motions.site', [
},
hideExpression: "model.format !== 'csv'",
},
- {
- key: 'include',
- type: 'checkbox-buttons',
- templateOptions: {
- label: gettextCatalog.getString('Meta information'),
- options: getMetaInformationOptions({
- state: true,
- votingResult: true,
- motionBlock: true,
- origin: true,
- recommendation: true,
- }),
- },
- hideExpression: "model.format !== 'docx'",
- },
]);
if (commentsAvailable) {
fields.push({
@@ -855,6 +840,7 @@ angular.module('OpenSlidesApp.motions.site', [
}
if ($scope.params.format === 'docx') {
$scope.params.include.state = false;
+ $scope.params.include.submitter = true;
$scope.params.include.motionBlock = false;
$scope.params.include.origin = false;
$scope.params.include.recommendation = false;
@@ -1127,12 +1113,9 @@ angular.module('OpenSlidesApp.motions.site', [
$scope.filter.propertyList = ['identifier', 'origin'];
$scope.filter.propertyFunctionList = [
function (motion) {return motion.getTitle();},
- function (motion) {return motion.getText();},
- function (motion) {return motion.getReason();},
function (motion) {return motion.category ? motion.category.name : '';},
function (motion) {return motion.motionBlock ? motion.motionBlock.name : '';},
function (motion) {return motion.recommendation ? motion.getRecommendationName() : '';},
- function (motion) {return _.filter(motion.comments).join(' ');},
];
$scope.filter.propertyDict = {
'submitters': function (submitter) {
diff --git a/openslides/motions/static/templates/motions/motion-detail.html b/openslides/motions/static/templates/motions/motion-detail.html
index d79590187..9cf34db85 100644
--- a/openslides/motions/static/templates/motions/motion-detail.html
+++ b/openslides/motions/static/templates/motions/motion-detail.html
@@ -239,7 +239,7 @@