diff --git a/openslides/motions/static/js/motions/csv.js b/openslides/motions/static/js/motions/csv.js index beefa88b0..c165212a4 100644 --- a/openslides/motions/static/js/motions/csv.js +++ b/openslides/motions/static/js/motions/csv.js @@ -76,8 +76,12 @@ angular.module('OpenSlidesApp.motions.csv', []) // Submitters if (params.include.submitters) { - var submitters = motion.submitters[0] ? motion.submitters[0].get_full_name() : ''; - row.push('"' + submitters + '"'); + var submitters = []; + angular.forEach(motion.submitters, function(user) { + var user_short_name = [user.title, user.first_name, user.last_name].join(' ').trim(); + submitters.push(user_short_name); + }); + row.push('"' + submitters.join('; ') + '"'); } // Category diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js index 1bc451aec..b88b4ca21 100644 --- a/openslides/motions/static/js/motions/site.js +++ b/openslides/motions/static/js/motions/site.js @@ -2119,7 +2119,8 @@ angular.module('OpenSlidesApp.motions.site', [ // submitter if (motion.submitter && motion.submitter !== '') { angular.forEach(User.getAll(), function (user) { - if (user.short_name == motion.submitter.trim()) { + var user_short_name = [user.title, user.first_name, user.last_name].join(' ').trim(); + if (user_short_name == motion.submitter.trim()) { motion.submitters_id = [user.id]; motion.submitter = user.full_name; }