Do not send removed/pruned item(s) to client
This commit is contained in:
parent
60aa689e84
commit
5edb1bd64a
@ -137,7 +137,6 @@ route('items', function() {
|
|||||||
|
|
||||||
$query = Database::get('db')
|
$query = Database::get('db')
|
||||||
->table('items')
|
->table('items')
|
||||||
->limit(50)
|
|
||||||
->columns(
|
->columns(
|
||||||
'rowid',
|
'rowid',
|
||||||
'feed_id',
|
'feed_id',
|
||||||
@ -148,7 +147,9 @@ route('items', function() {
|
|||||||
'updated',
|
'updated',
|
||||||
'status',
|
'status',
|
||||||
'bookmark'
|
'bookmark'
|
||||||
);
|
)
|
||||||
|
->limit(50)
|
||||||
|
->neq('status', 'removed');
|
||||||
|
|
||||||
if (isset($_GET['since_id']) && is_numeric($_GET['since_id'])) {
|
if (isset($_GET['since_id']) && is_numeric($_GET['since_id'])) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user