diff --git a/app/controllers/new_administrateur/types_de_champ_controller.rb b/app/controllers/new_administrateur/types_de_champ_controller.rb index 9739303fa..c7c663acb 100644 --- a/app/controllers/new_administrateur/types_de_champ_controller.rb +++ b/app/controllers/new_administrateur/types_de_champ_controller.rb @@ -27,7 +27,7 @@ module NewAdministrateur end def move - @procedure.draft_revision.move_type_de_champ(type_de_champ_stable_id, params[:position].to_i) + @procedure.draft_revision.move_type_de_champ(type_de_champ_stable_id, (params[:position] || params[:order_place]).to_i) head :no_content end