From 851a8ca7aaf96c504cca1bb9e572974ab8b0c2bd Mon Sep 17 00:00:00 2001 From: akemidx Date: Wed, 26 Mar 2025 17:12:04 -0400 Subject: [PATCH] changing target to item id --- resources/views/users/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index a11de31af024..622199957d75 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -984,7 +984,7 @@ class="table table-striped snipe-table table-hover" 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', ['item_id' => $user->id, 'item_type' => 'user']) }}" data-export-options='{ "fileName": "export-{{ str_slug($user->present()->fullName ) }}-history-{{ date('Y-m-d') }}", "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]