@extends('app')

@section('content')
<div class="container"> 
@if ($results)
    {!! Alert::info(trans('app.search.msg.no_results', ['criteria' => $criteria])) !!}
@else
    @foreach ($results as $category => $items)
            @include('manager.search._'.$category, ['items' => $items])
    @endforeach
@endif
</div>
@endsection

@extends('app')

@section('content')
<div class="container"> 
@if (count($results) == 0)
    {!! Alert::info(trans('app.search.msg.no_results', ['criteria' => $criteria])) !!}
@else
    @foreach ($results as $category => $items)
            @include('manager.search._'.$category, ['items' => $items])
    @endforeach
@endif
</div>
@endsection

Fix search results count() verification
Fix search results count() verification
