mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding saved searches to flat feeds for #1298.
This commit is contained in:
parent
ff4eac73bb
commit
db1fcc8cac
1 changed files with 3 additions and 0 deletions
|
@ -425,6 +425,8 @@ def load_feeds_flat(request):
|
|||
if not user_subs:
|
||||
categories = MCategory.serialize()
|
||||
|
||||
saved_searches = MSavedSearch.user_searches(user.pk)
|
||||
|
||||
logging.user(request, "~FB~SBLoading ~FY%s~FB/~FM%s~FB/~FR%s~FB feeds/socials/inactive ~FMflat~FB%s%s" % (
|
||||
len(feeds.keys()), len(social_feeds), len(inactive_feeds), '. ~FCUpdating counts.' if update_counts else '',
|
||||
' ~BB(background fetch)' if background_ios else ''))
|
||||
|
@ -447,6 +449,7 @@ def load_feeds_flat(request):
|
|||
"categories": categories,
|
||||
'starred_count': starred_count,
|
||||
'starred_counts': starred_counts,
|
||||
'saved_searches': saved_searches,
|
||||
'share_ext_token': user.profile.secret_token,
|
||||
}
|
||||
return data
|
||||
|
|
Loading…
Add table
Reference in a new issue