From: Andrew Dolgov Date: Fri, 18 Nov 2005 07:22:01 +0000 (+0100) Subject: label counters are now uid-aware (take 2) X-Git-Tag: schema_feature_freeze_for_1.1~233 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=aee86c2e7d3a5fcd0753cc07bbda1396dc72d10b;p=tt-rss.git label counters are now uid-aware (take 2) --- diff --git a/backend.php b/backend.php index 832dadf0..0fbe75b3 100644 --- a/backend.php +++ b/backend.php @@ -671,6 +671,7 @@ FROM ttrss_entries WHERE + owner_uid = '".$_SESSION["uid"]."' AND $search_query_part $view_query_part $query_strategy_part ORDER BY $order_by @@ -688,6 +689,7 @@ FROM ttrss_entries,ttrss_tags WHERE + ttrss_entries.owner_uid = '".$_SESSION["uid"]."' AND post_id = ttrss_entries.id AND tag_name = '$feed' AND $view_query_part $search_query_part