Fix eager loading for user throttle
This commit is contained in:
@@ -881,7 +881,7 @@ class AssetsController extends AdminController
|
||||
public function getDatatable($status = null)
|
||||
{
|
||||
|
||||
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc','assetlog','model','model.category')->Hardware();
|
||||
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc','assetlog','model','model.category','sentryThrottle')->Hardware();
|
||||
|
||||
|
||||
switch ($status) {
|
||||
|
||||
Reference in New Issue
Block a user