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