mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add system logs to first load
This commit is contained in:
parent
878f00b375
commit
96c191daf0
@ -98,6 +98,7 @@ class BaseController extends Controller
|
||||
'company.vendors.contacts.company',
|
||||
'company.vendors.documents',
|
||||
'company.webhooks',
|
||||
'company.system_logs',
|
||||
];
|
||||
|
||||
private $mini_load = [
|
||||
|
@ -391,7 +391,7 @@ class Company extends BaseModel
|
||||
|
||||
public function system_logs()
|
||||
{
|
||||
return $this->hasMany(SystemLog::class)->orderBy('id', 'DESC')->take(50);
|
||||
return $this->hasMany(SystemLog::class)->orderBy('id', 'DESC')->take(100);
|
||||
}
|
||||
|
||||
public function system_log_relation()
|
||||
|
Loading…
x
Reference in New Issue
Block a user