fix usage info

This commit is contained in:
envoyr
2022-02-28 09:01:29 +01:00
parent fb9dccc94a
commit 2b771b11d6
2 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ if ($page == 'customers' && $userinfo['customers'] != '0') {
try {
$customer_list_data = include_once dirname(__FILE__) . '/lib/tablelisting/admin/tablelisting.customers.php';
$collection = (new \Froxlor\UI\Collection(\Froxlor\Api\Commands\Customers::class, $userinfo))
$collection = (new \Froxlor\UI\Collection(\Froxlor\Api\Commands\Customers::class, $userinfo, ['show_usages' => true]))
->has('admin', \Froxlor\Api\Commands\Admins::class, 'adminid', 'adminid')
->withPagination($customer_list_data['customer_list']['columns']);
} catch (Exception $e) {