mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Moving back to having usersub only be used when unreads or oldest first is invoked, and that uses a subscribing archive user's cutoff dates. Otherwise, just page through in order. Probably should do this for Oldest first as well.
This commit is contained in:
parent
1780b08569
commit
3346cc10f8
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ def load_single_feed(request, feed_id):
|
|||
story_feed_id=feed_id
|
||||
).order_by('%sstarred_date' % ('-' if order == 'newest' else ''))[offset:offset+limit]
|
||||
stories = Feed.format_stories(mstories)
|
||||
elif usersub:
|
||||
elif usersub and (read_filter == 'unread' or order == 'oldest'):
|
||||
stories = usersub.get_stories(order=order, read_filter=read_filter, offset=offset, limit=limit,
|
||||
default_cutoff_date=user.profile.unread_cutoff)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue