Count only undeleted users for the user_count expansion varibale
This commit is contained in:
parent
97f81d9826
commit
294d14624c
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module Foodsoft
|
|||
'foodsoft.version' => Foodsoft::VERSION,
|
||||
'foodsoft.revision' => Foodsoft::REVISION,
|
||||
|
||||
'user_count' => ->{ User.count },
|
||||
'user_count' => ->{ User.undeleted.count },
|
||||
'ordergroup_count' => ->{ Ordergroup.undeleted.count },
|
||||
'active_ordergroup_count' => ->{ active_ordergroup_count },
|
||||
'supplier_count' => ->{ Supplier.undeleted.count },
|
||||
|
|
Loading…
Reference in a new issue