v38: d:feeds only shows feeds with items

This commit is contained in:
primal
2026-01-30 16:04:38 -05:00
parent 388e846f18
commit c374260e11
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -73,6 +73,7 @@ func (c *Crawler) handleAPIDomains(w http.ResponseWriter, r *http.Request) {
INNER JOIN (
SELECT source_host, COUNT(*) as feed_count
FROM feeds
WHERE item_count > 0
GROUP BY source_host
) f ON d.host = f.source_host
WHERE d.status = $1
@@ -87,6 +88,7 @@ func (c *Crawler) handleAPIDomains(w http.ResponseWriter, r *http.Request) {
INNER JOIN (
SELECT source_host, COUNT(*) as feed_count
FROM feeds
WHERE item_count > 0
GROUP BY source_host
) f ON d.host = f.source_host
WHERE d.status != 'skip'
+1 -1
View File
@@ -534,7 +534,7 @@ const dashboardHTML = `<!DOCTYPE html>
<div id="output"></div>
</div>
<div style="color: #333; font-size: 11px; margin-top: 10px;">v37</div>
<div style="color: #333; font-size: 11px; margin-top: 10px;">v38</div>
<div class="updated" id="updatedAt">Last updated: {{.UpdatedAt.Format "2006-01-02 15:04:05"}}</div>
</body>