Changeset 520e477 in Klonkt for src/services
- Timestamp:
- 07/20/2026 07:35:55 AM (7 weeks ago)
- Branches:
- main
- Children:
- 22d2f5a8
- Parents:
- 1485933
- git-author:
- Robin <roboburr@…> (07/20/2026 07:26:51 AM)
- git-committer:
- Robin <roboburr@…> (07/20/2026 07:35:55 AM)
- File:
-
- 1 edited
-
src/services/ActivityPubService.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ActivityPubService.js
r1485933 r520e477 2245 2245 try { if (!_abCount) _abCount = db.prepare('SELECT COUNT(*) AS n FROM ap_following WHERE slug = ? AND auto_boost = 1'); return _abCount.get(slug).n; } catch { return 0; } 2246 2246 } 2247 export function getCirkelPosts(slug, limit ) {2247 export function getCirkelPosts(slug, limit, offset) { 2248 2248 try { 2249 2249 // Cirkel = posts from featured (auto_boost) accounts + posts you boosted … … 2256 2256 WHERE t.slug = ? AND (f.auto_boost = 1 OR t.boosted = 1) 2257 2257 ORDER BY COALESCE(t.published, t.created_at) DESC, t.rowid DESC 2258 LIMIT ? `);2259 return _cirkelPosts.all(slug, limit || 60 );2258 LIMIT ? OFFSET ?`); 2259 return _cirkelPosts.all(slug, limit || 60, offset || 0); 2260 2260 } catch { return []; } 2261 2261 }
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)