Changeset adb6291 in Klonkt for src/routes/posts.js
- Timestamp:
- 06/30/2026 06:11:50 PM (2 months ago)
- Branches:
- main
- Children:
- a95dbfd
- Parents:
- 1c33804
- File:
-
- 1 edited
-
src/routes/posts.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/posts.js
r1c33804 radb6291 998 998 const candidates = isHub 999 999 ? db.prepare(` 1000 SELECT p.id, p.slug, p.title, p.cover_image_url, p. published_at, p.tags, p.nsfw, p.content_warning, s.slug AS site_slug1000 SELECT p.id, p.slug, p.title, p.cover_image_url, p.cover_video_url, p.published_at, p.tags, p.nsfw, p.content_warning, s.slug AS site_slug 1001 1001 FROM posts p JOIN sites s ON s.id = p.site_id 1002 1002 WHERE p.status = 'published' AND p.id != ? … … 1004 1004 `).all(post.id) 1005 1005 : db.prepare(` 1006 SELECT id, slug, title, cover_image_url, published_at, tags, nsfw, content_warning1006 SELECT id, slug, title, cover_image_url, cover_video_url, published_at, tags, nsfw, content_warning 1007 1007 FROM posts 1008 1008 WHERE site_id = ? AND status = 'published' AND id != ?
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)