Fix eager loading for user throttle

This commit is contained in:
snipe
2015-03-17 15:36:11 -07:00
parent c2c0196a3d
commit c00086c740
5 changed files with 31 additions and 14 deletions
+1 -1
View File
@@ -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) {