]> git.parisson.com Git - teleforma.git/commitdiff
last_name first
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 24 May 2023 06:48:39 +0000 (08:48 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 24 May 2023 06:48:39 +0000 (08:48 +0200)
teleforma/templates/teleforma/course_conference_record.html

index e36263e693d302a75f8c9a79f0d680ad43b2e89c..4605162082e15ea6eca1f42d2902cabdfce48d71 100644 (file)
@@ -39,7 +39,7 @@ jQuery(window).ready(function(){
         var professors = data.result;
         var options = '<option value="">----------</option>';
         for (var i = 0; i < professors.length; i++) {
-          options += '<option value="' + parseInt(professors[i].id) + '">' + professors[i].first_name + ' ' + professors[i].last_name + '</option>';
+          options += '<option value="' + parseInt(professors[i].id) + '">' + professors[i].last_name + ' ' + professors[i].first_name + '</option>';
         }
         $("#id_professor").html(options);
         $("#id_professor option:first").attr('selected', 'selected');