Skip to content

A free open source IT asset/license management system

Fixed #17458 - use item_id instead of target_id for user history

snipe8499faa55aad
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php
index 02d62c5372..c9d58cfb27 100755
--- a/resources/views/users/view.blade.php
+++ b/resources/views/users/view.blade.php
@@ -990,7 +990,7 @@
"fileName": "export-{{ str_slug($user->name) }}-history-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
}'
- data-url="{{ route('api.activity.index', ['target_id' => $user->id, 'item_type' => User::class]) }}">
+ data-url="{{ route('api.activity.index', ['item_id' => $user->id, 'item_type' => User::class]) }}">
</table>
</div>