Merge pull request #410 from foodcoop1040/user_count

Count only undeleted users for the user_count expansion varibale
This commit is contained in:
wvengen 2016-03-04 21:36:35 +01:00
commit e5db84b17c
1 changed files with 1 additions and 1 deletions

View File

@ -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 },