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
1 changed files with 2 additions and 0 deletions

View File

@ -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