From 9b04d2e51c06c5101b11225b82f47b4069fb4fa2 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 4 Dec 2024 22:15:29 +0000 Subject: [PATCH] Updated route in view Signed-off-by: snipe --- resources/views/locations/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index 178862c804..b711676464 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -244,7 +244,7 @@ data-click-to-select="true" id="assetsListingTable" class="table table-striped snipe-table" - data-url="{{route('api.assets.index', ['assigned_to' => $location->id, 'assigned_type' => \App\Models\Location::class]) }}" + data-url="{{route('api.locations.assigned_assets', ['location' => $location]) }}" data-export-options='{ "fileName": "export-locations-{{ str_slug($location->name) }}-assets-{{ date('Y-m-d') }}", "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]