Skip to content

A free open source IT asset/license management system

Show user log

snipec232f490bc60
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php
index b17f615661..4bb7055a32 100755
--- a/resources/views/users/view.blade.php
+++ b/resources/views/users/view.blade.php
@@ -994,7 +994,7 @@
data-sort-order="desc"
id="usersHistoryTable"
class="table table-striped snipe-table"
- data-url="{{ route('api.activity.index', ['target_id' => $user->id, 'target_type' => 'user']) }}"
+ data-url="{{ route('api.activity.index', ['target_id' => $user->id, 'item_type' => User::class]) }}"
data-export-options='{
"fileName": "export-{{ str_slug($user->present()->fullName ) }}-history-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]