diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 5f4a91eb63..633c17d5c3 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -1167,7 +1167,7 @@ class Asset extends Depreciable } } - if (($fieldname!='category') && ($fieldname!='model_number') && ($fieldname!='location') && ($fieldname!='supplier') + if (($fieldname!='category') && ($fieldname!='model_number') && ($fieldname!='rtd_location') && ($fieldname!='location') && ($fieldname!='supplier') && ($fieldname!='status_label') && ($fieldname!='model') && ($fieldname!='company') && ($fieldname!='manufacturer')) { $query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%'); }