diff options
| author | Developer | 2026-06-27 03:20:31 +0200 |
|---|---|---|
| committer | Developer | 2026-06-27 03:20:31 +0200 |
| commit | 2bd360718a80a0013bf91decb5d9e99ec8333826 (patch) | |
| tree | 44aa05c5eead3bd0bb597ae2a72f38200edc0fe0 /resources/views/cinema_show.blade.php | |
| parent | 356e12e4aa0230bc47a9daa4f8f488354476c571 (diff) | |
| download | curious-2bd360718a80a0013bf91decb5d9e99ec8333826.tar.gz | |
fix: use separate count query in CinemaController::search()
simplePaginate returns SimplePaginator which lacks total(). Count results separately following the pattern used in IndexController.
Diffstat (limited to 'resources/views/cinema_show.blade.php')
| -rw-r--r-- | resources/views/cinema_show.blade.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php index 346a1f4..5f849e3 100644 --- a/resources/views/cinema_show.blade.php +++ b/resources/views/cinema_show.blade.php @@ -55,7 +55,13 @@ </div> <div class="col-md-9"> <h3> - {{ $movie->primary_title }} + @if ( ! is_null($movie->wiki_article) ) + <a href="https://en.wikipedia.org/wiki/{{ $movie->wiki_article }}" target="_blank"> + {{ $movie->primary_title }} + </a> + @else + {{ $movie->primary_title }} + @endif @if ( ! is_null($movie->original_title) && $movie->original_title != $movie->primary_title ) <small class="text-muted">({{ $movie->original_title }})</small> @endif |
