diff --git a/apps/reader/views.py b/apps/reader/views.py index f53bbc3bc..bb342bf51 100644 --- a/apps/reader/views.py +++ b/apps/reader/views.py @@ -569,7 +569,7 @@ def load_single_feed(request, feed_id): if read_filter == 'unread' and usersub: story['read_status'] = 0 elif read_filter == 'all' and usersub: - story['read_status'] = story['story_hash'] not in unread_story_hashes + story['read_status'] = 1 if story['story_hash'] not in unread_story_hashes else 0 if story['story_hash'] in starred_stories: story['starred'] = True starred_date = localtime_for_timezone(starred_stories[story['story_hash']], diff --git a/apps/social/views.py b/apps/social/views.py index bce62dbc5..83ba4ccaa 100644 --- a/apps/social/views.py +++ b/apps/social/views.py @@ -124,7 +124,7 @@ def load_social_stories(request, user_id, username=None): if read_filter == 'unread' and socialsub: story['read_status'] = 0 elif read_filter == 'all' and socialsub: - story['read_status'] = story['story_hash'] not in unread_story_hashes + story['read_status'] = 1 if story['story_hash'] not in unread_story_hashes else 0 if story['story_hash'] in starred_stories: story['starred'] = True