@extends('Frontend.Master.authMaster') @section('content')
@include('Frontend.Layouts.leftbar')
@php $i = 1; @endphp {{-- Initialize Counter --}} @forelse ($downloadHistory as $index => $item) {{-- --}} @empty @endforelse
Title Description Tags Searched Date Action
{{ $i++ }} {{ $item->title }} {{ \Illuminate\Support\Str::limit($item->description, 50, '...') }} {{ $item->description }} @php $tagsArray = is_array($item->tags) ? $item->tags : json_decode($item->tags, true); @endphp @foreach($tagsArray ?? [] as $tag) {{ is_array($tag) ? implode(', ', $tag) : $tag }} @endforeach {{ $item->udl_download_date }}
No search history found.
@endsection