mirror of
https://github.com/snipe/snipe-it.git
synced 2026-03-30 20:34:39 +00:00
Merge pull request #14108 from Godmartinz/asset_maintenance_scope
Added supplier name as a searchable relation on the asset maintenance report
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user