mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -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 = [
|
protected $searchableRelations = [
|
||||||
'asset' => ['name', 'asset_tag'],
|
'asset' => ['name', 'asset_tag'],
|
||||||
'asset.model' => ['name', 'model_number'],
|
'asset.model' => ['name', 'model_number'],
|
||||||
|
'asset.supplier' => ['name'],
|
||||||
];
|
];
|
||||||
|
|
||||||
public function getCompanyableParents()
|
public function getCompanyableParents()
|
||||||
|
|
Loading…
Reference in a new issue