mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
ugh
This commit is contained in:
parent
56fd41eee4
commit
1b614c13fb
|
@ -1360,7 +1360,7 @@ class Asset extends Depreciable
|
||||||
->orWhere('assets.asset_tag', 'LIKE', '%'.$search.'%')
|
->orWhere('assets.asset_tag', 'LIKE', '%'.$search.'%')
|
||||||
->orWhere('assets.serial', 'LIKE', '%'.$search.'%')
|
->orWhere('assets.serial', 'LIKE', '%'.$search.'%')
|
||||||
->orWhere('assets.order_number', 'LIKE', '%'.$search.'%')
|
->orWhere('assets.order_number', 'LIKE', '%'.$search.'%')
|
||||||
->orWhere('assets.notes', 'LIKE', '%'.$search.'%')
|
->orWhere('assets.notes', 'LIKE', '%'.$search.'%');
|
||||||
}
|
}
|
||||||
|
|
||||||
})->withTrashed()->whereNull('assets.deleted_at'); //workaround for laravel bug
|
})->withTrashed()->whereNull('assets.deleted_at'); //workaround for laravel bug
|
||||||
|
|
Loading…
Reference in a new issue