mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fix unread count query (#442)
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
|
http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
|
||||||
|
|
||||||
<named-query name="EntryStatus.unreadCounts">
|
<named-query name="EntryStatus.unreadCounts">
|
||||||
<query>select s.id, count(s) from FeedEntryStatus s where s.user=:user and s.read=false group by s.id</query>
|
<query>select s.subscription.id, count(s) from FeedEntryStatus s where s.user=:user and s.read=false group by s.subscription.id</query>
|
||||||
</named-query>
|
</named-query>
|
||||||
|
|
||||||
<named-query name="EntryStatus.existing">
|
<named-query name="EntryStatus.existing">
|
||||||
|
|||||||
Reference in New Issue
Block a user