label counters are now uid-aware (take 2)

This commit is contained in:
Andrew Dolgov 2005-11-18 08:22:01 +01:00
parent 655be0736c
commit aee86c2e7d

View file

@ -671,6 +671,7 @@
FROM FROM
ttrss_entries ttrss_entries
WHERE WHERE
owner_uid = '".$_SESSION["uid"]."' AND
$search_query_part $search_query_part
$view_query_part $view_query_part
$query_strategy_part ORDER BY $order_by $query_strategy_part ORDER BY $order_by
@ -688,6 +689,7 @@
FROM FROM
ttrss_entries,ttrss_tags ttrss_entries,ttrss_tags
WHERE WHERE
ttrss_entries.owner_uid = '".$_SESSION["uid"]."' AND
post_id = ttrss_entries.id AND tag_name = '$feed' AND post_id = ttrss_entries.id AND tag_name = '$feed' AND
$view_query_part $view_query_part
$search_query_part $search_query_part