Merge pull request #410 from foodcoop1040/user_count
Count only undeleted users for the user_count expansion varibale
This commit is contained in:
commit
e5db84b17c
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