A free open source IT asset/license management system
Commented model loading on asset model
snipe8ac3937bf43d
diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex f31b872841..367f425a38 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -60,6 +60,12 @@ class Asset extends Depreciable*/protected $table = 'assets';+ /**+ * Leaving this commented out, since we need to test further, but this would eager load the model relationship every single+ * time the asset model is loaded.+ */+ // protected $with = ['model'];+/*** Whether the model should inject it's identifier to the unique* validation rules before attempting validation. If this property