Improve admin query on landing
This commit is contained in:
parent
5ad3928e49
commit
63ea2045a7
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
%ul.numbers
|
%ul.numbers
|
||||||
%li.number
|
%li.number
|
||||||
.number-value
|
.number-value
|
||||||
= number_with_delimiter(Procedure.includes(:administrateurs).publiees_ou_closes.flat_map(&:administrateurs).uniq.count, :locale => :fr)
|
= number_with_delimiter(AdministrateursProcedure.joins(:procedure).merge(Procedure.publiees_ou_closes).select('distinct administrateur_id').count, :locale => :fr)
|
||||||
.number-label<
|
.number-label<
|
||||||
administrations
|
administrations
|
||||||
%br<>
|
%br<>
|
||||||
|
|
Loading…
Reference in a new issue