summaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
authorDeveloper2026-06-27 04:21:22 +0200
committerDeveloper2026-06-27 04:21:22 +0200
commit81cd80aea8bfdec1c68ae5082fced1b0a3f5e51d (patch)
tree15fb8478ef4bc42e99124d7e2447e56f05519f3b /app/Http/Controllers
parentdc3cbbfdd9455e419eaaf776c16544afdf95eadb (diff)
downloadcurious-81cd80aea8bfdec1c68ae5082fced1b0a3f5e51d.tar.gz
fix: show comment text for HN comment entries on movie page
Comments now display as 'Comment: <beginning of text>' with single-line truncation via hn-comment CSS class. Story-type entries still show title.
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r--app/Http/Controllers/CinemaController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Http/Controllers/CinemaController.php b/app/Http/Controllers/CinemaController.php
index d8adefa..75c93aa 100644
--- a/app/Http/Controllers/CinemaController.php
+++ b/app/Http/Controllers/CinemaController.php
@@ -100,6 +100,8 @@ class CinemaController extends Controller
->select(
'story.story_id',
'story.title',
+ 'story.type',
+ 'story.text',
'story.score',
'story.descendants',
'story.time'