mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fixing bug around skipping the 2nd page of feed stories due to an off by one error.
This commit is contained in:
parent
32bc324a02
commit
a1feeeb13f
2 changed files with 2 additions and 2 deletions
|
@ -432,7 +432,7 @@ def load_river_stories(request):
|
|||
user = get_user(request)
|
||||
feed_ids = [int(feed_id) for feed_id in request.REQUEST.getlist('feeds') if feed_id]
|
||||
original_feed_ids = list(feed_ids)
|
||||
page = int(request.REQUEST.get('page', 0))+1
|
||||
page = int(request.REQUEST.get('page', 1))
|
||||
read_stories_count = int(request.REQUEST.get('read_stories_count', 0))
|
||||
bottom_delta = datetime.timedelta(days=settings.DAYS_OF_UNREAD)
|
||||
|
||||
|
|
|
@ -1807,7 +1807,7 @@
|
|||
var feeds = this.list_feeds_with_unreads_in_folder($folder, false, true);
|
||||
this.cache['river_feeds_with_unreads'] = feeds;
|
||||
this.show_stories_progress_bar(feeds.length);
|
||||
this.model.fetch_river_stories(this.active_feed, feeds, 0,
|
||||
this.model.fetch_river_stories(this.active_feed, feeds, 1,
|
||||
_.bind(this.post_open_river_stories, this), true);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue