remove scope not_archived for brouillon
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
This commit is contained in:
parent
c565ed415b
commit
3678015413
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ class Dossier < ApplicationRecord
|
|||
])
|
||||
}
|
||||
|
||||
scope :brouillons_recently_updated, -> { not_archived.updated_since(2.days.ago).state_brouillon.order_by_updated_at }
|
||||
scope :brouillons_recently_updated, -> { updated_since(2.days.ago).state_brouillon.order_by_updated_at }
|
||||
scope :with_annotations, -> {
|
||||
includes(champs_private: [
|
||||
:type_de_champ,
|
||||
|
|
Loading…
Reference in a new issue