Restore previous behaviour in page "feed-items" (display read and unread items)
This commit is contained in:
parent
fe0a5f4a55
commit
46ef3dffe4
@ -583,7 +583,7 @@ function count_feed_items($feed_id)
|
||||
return \PicoTools\singleton('db')
|
||||
->table('items')
|
||||
->eq('feed_id', $feed_id)
|
||||
->eq('status', 'unread')
|
||||
->in('status', array('unread', 'read'))
|
||||
->count();
|
||||
}
|
||||
|
||||
@ -604,7 +604,7 @@ function get_feed_items($feed_id, $offset = null, $limit = null, $order_column =
|
||||
'feeds.site_url'
|
||||
)
|
||||
->join('feeds', 'id', 'feed_id')
|
||||
->eq('status', 'unread')
|
||||
->in('status', array('unread', 'read'))
|
||||
->eq('feed_id', $feed_id)
|
||||
->orderBy($order_column, $order_direction)
|
||||
->offset($offset)
|
||||
|
Loading…
Reference in New Issue
Block a user