Skip to content

Commit

Permalink
Ajoute la liste des comptes des structures sans campagnes dans les stats
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Dec 27, 2023
1 parent 5e46e69 commit 5c63454
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/admin/comptes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def filtrer_par_activation_structure(statut_activation, options = {})
end

scope :all, { default: true, if: -> { params[:stats] && can?(:manage, Compte) } }
filtrer_par_activation_structure(:sans_campagne)
filtrer_par_activation_structure(:pas_vraiment_utilisatrices)
filtrer_par_activation_structure(:non_activees)
filtrer_par_activation_structure(:actives)
Expand Down

0 comments on commit 5c63454

Please sign in to comment.