mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
adds Supplier as a searchable relation on the asset maintenance report
This commit is contained in:
parent
0c6611d6bd
commit
4184b271f7
|
@ -72,6 +72,7 @@ class AssetMaintenance extends Model implements ICompanyableChild
|
|||
protected $searchableRelations = [
|
||||
'asset' => ['name', 'asset_tag'],
|
||||
'asset.model' => ['name', 'model_number'],
|
||||
'asset.supplier' => ['name'],
|
||||
];
|
||||
|
||||
public function getCompanyableParents()
|
||||
|
|
Loading…
Reference in a new issue