Skip to content

A free open source IT asset/license management system

Fixed license history target

snipef419ae3f4a32
diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php
index 38353da8a9..fe3cd11457 100755
--- a/resources/views/licenses/view.blade.php
+++ b/resources/views/licenses/view.blade.php
@@ -96,7 +96,7 @@
<x-slot:content>
<x-table
name="locationHistory"
- api_url="{{ route('api.activity.index', ['target_id' => $license->id, 'target_type' => 'license']) }}"
+ api_url="{{ route('api.activity.index', ['item_id' => $license->id, 'item_type' => 'license']) }}"
:presenter="\App\Presenters\HistoryPresenter::dataTableLayout()"
export_filename="export-licenses-{{ str_slug($license->name) }}-{{ date('Y-m-d') }}"
/>