From e283f2d8cd59b4b52f226e0ca66141ede9afe4c7 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 13 Jun 2024 14:12:00 +0200 Subject: [PATCH] chore(search): don't index on autosave --- app/controllers/users/dossiers_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/users/dossiers_controller.rb b/app/controllers/users/dossiers_controller.rb index 1fac35eae..f9e052268 100644 --- a/app/controllers/users/dossiers_controller.rb +++ b/app/controllers/users/dossiers_controller.rb @@ -304,7 +304,6 @@ module Users @dossier = dossier_with_champs(pj_template: false) @can_passer_en_construction_was = @dossier.can_passer_en_construction? update_dossier_and_compute_errors - @dossier.index_search_terms_later if @dossier.errors.empty? @can_passer_en_construction_is = @dossier.can_passer_en_construction? respond_to do |format| format.turbo_stream do