Skip to content

A free open source IT asset/license management system

Update the alias

snipe1e884bf6278a
diff --git a/app/Models/Asset.php b/app/Models/Asset.php
index f0e77a473e..fbb47a2a30 100644
--- a/app/Models/Asset.php
+++ b/app/Models/Asset.php
@@ -227,7 +227,7 @@ class Asset extends Depreciable
* @var array<string, string> [ api_key => relation_name ]
*/
protected $searchableRelationAliases = [
- 'status_label' => 'assetstatus',
+ 'status_label' => 'status',
'assigned_to' => 'assignedTo',
];