Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe
2025-06-08 15:30:32 +01:00

View File

@@ -562,7 +562,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
{
return $this->hasMany(Actionlog::class, 'target_id')
->with('item')
->select(['id', 'target_id', 'target_type', 'action_type', 'filename', 'accept_signature', 'created_at'])
->select(['id', 'target_id', 'target_type', 'action_type', 'filename', 'accept_signature', 'created_at', 'note'])
->where('target_type', self::class)
->where('action_type', 'accepted')
->whereNotNull('filename')