From 97f041de8cb593d46ccb15141d92e1984d9847d1 Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Mon, 20 Jun 2022 09:50:19 +0200
Subject: Some more mobile friendly layout tuning.

---
 schema.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index 4527b9b..f3d5d02 100644
--- a/schema.sql
+++ b/schema.sql
@@ -180,12 +180,12 @@ create view thread_view as
 		author.name as author_name,
 		(
 			select
-				count(*) - 1
+				count(*)
 			from
 				posts
 			where
 				posts.thread_id = threads.thread_id
-		) as replies,
+		) as count,
 		(
 			select
 				max(posts.mtime)
-- 
cgit v1.2.3

