Add pretty site names to search and thread views

This commit is contained in:
2024-07-21 20:50:50 -07:00
parent ec41f840d5
commit 79db94f67f
3 changed files with 18 additions and 8 deletions

View File

@@ -1,6 +1,13 @@
SELECT
*
date,
is_read,
link,
site,
summary,
title,
name
FROM
post
post p
JOIN feed f ON p.site = f.slug
WHERE
uid = $1

View File

@@ -1,7 +1,12 @@
SELECT
*
date,
is_read,
title,
uid,
name
FROM
post
post p
JOIN feed f ON p.site = f.slug
WHERE
site = $1
AND (