diff --git a/app/controllers/admin/research/researchers_controller.rb b/app/controllers/admin/research/researchers_controller.rb index c901fb091a764d0f582b2661e9bbe8b7113824a4..b04e625f1d27aa9b814fbe7b9dfb0a58f03cc569 100644 --- a/app/controllers/admin/research/researchers_controller.rb +++ b/app/controllers/admin/research/researchers_controller.rb @@ -29,7 +29,7 @@ class Admin::Research::ResearchersController < Admin::Research::ApplicationContr ].each do |key| @researcher.update_column key, params[key] if params.has_key?(key) end - @researcher.load_research_publications! + @researcher.load_research_publications_without_delay! redirect_to admin_research_researcher_path(@researcher) end diff --git a/app/controllers/admin/university/people_controller.rb b/app/controllers/admin/university/people_controller.rb index e0e6b26a6179a3c275f287194e2dd36185aa38c9..8df8bb77175192afcc4e18f1f758bc926cb0b251 100644 --- a/app/controllers/admin/university/people_controller.rb +++ b/app/controllers/admin/university/people_controller.rb @@ -94,7 +94,7 @@ class Admin::University::PeopleController < Admin::University::ApplicationContro :biography, :picture, :picture_delete, :picture_infos, :habilitation, :tenure, :url, :linkedin, :twitter, :mastodon, :is_researcher, :is_teacher, :is_administration, :is_alumnus, - :hal_person_identifier, :user_id + :hal_person_identifier, :hal_doc_identifier, :hal_form_identifier, :user_id ).merge(university_id: current_university.id) end end