- Updated audit table so long entity names did not squish everything
else.
- Added filtering to view service popular list so that recycle binned
items did not cause issues.
$query->whereIn('viewable_type', $this->entityProvider->getMorphClasses($filterModels));
}
- return $query->with('viewable')->skip($skipCount)->take($count)->get()->pluck('viewable');
+ return $query->with('viewable')
+ ->skip($skipCount)
+ ->take($count)
+ ->get()
+ ->pluck('viewable')
+ ->filter();
}
/**
@include('partials.table-user', ['user' => $activity->user, 'user_id' => $activity->user_id])
</td>
<td>{{ $activity->type }}</td>
- <td>
+ <td width="40%">
@if($activity->entity)
<a href="{{ $activity->entity->getUrl() }}" class="table-entity-item">
<span role="presentation" class="icon text-{{$activity->entity->getType()}}">@icon($activity->entity->getType())</span>