mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
adds soft deletes to eager loading
This commit is contained in:
parent
92ddf8fc67
commit
ce60db009c
|
@ -152,10 +152,10 @@ class ActionlogsTransformer
|
|||
* @return array
|
||||
*/
|
||||
public function changedInfo(array $clean_meta)
|
||||
{ $location = Location::all();
|
||||
$company = Company::all();
|
||||
$supplier = Supplier::all();
|
||||
$model = AssetModel::all();
|
||||
{ $location = Location::withTrashed()->all();
|
||||
$company = Company::withTrashed()->all();
|
||||
$supplier = Supplier::withTrashed()->all();
|
||||
$model = AssetModel::withTrashed()->get();
|
||||
|
||||
|
||||
if(array_key_exists('rtd_location_id',$clean_meta)) {
|
||||
|
|
Loading…
Reference in a new issue