mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Merge pull request #14118 from snipe/fixes/_supplier_searchable_on_maintenances
Search on supplier name attached to maintenance
This commit is contained in:
commit
f151de2adc
|
@ -73,6 +73,7 @@ class AssetMaintenance extends Model implements ICompanyableChild
|
||||||
'asset' => ['name', 'asset_tag'],
|
'asset' => ['name', 'asset_tag'],
|
||||||
'asset.model' => ['name', 'model_number'],
|
'asset.model' => ['name', 'model_number'],
|
||||||
'asset.supplier' => ['name'],
|
'asset.supplier' => ['name'],
|
||||||
|
'supplier' => ['name'],
|
||||||
];
|
];
|
||||||
|
|
||||||
public function getCompanyableParents()
|
public function getCompanyableParents()
|
||||||
|
|
Loading…
Reference in a new issue