Merge pull request #14118 from snipe/fixes/_supplier_searchable_on_maintenances

Search on supplier name attached to maintenance
This commit is contained in:
snipe 2024-01-10 13:18:47 +00:00 committed by GitHub
commit f151de2adc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()