summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 15:12:10 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 15:12:10 +0100
commit36bf74967c6a6a310a03f2fe30299c8f6bc34124 (patch)
treef1aa5028d6eb1b81e6408f9ad18016afb9bebbd5 /backend.php
parentda61567a39efceb589ce943419d0b1d615b59fe5 (diff)
some searchbox focus workarouns, content hash checking is optional now
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index dd38641ac..cfdc4be9c 100644
--- a/backend.php
+++ b/backend.php
@@ -261,7 +261,9 @@
}
$result = pg_query("SELECT count(id) AS total_entries
- FROM ttrss_entries WHERE feed_id = '$feed'");
+ FROM ttrss_entries WHERE
+ $search_query_part
+ feed_id = '$feed'");
$total_entries = pg_fetch_result($result, 0, "total_entries");