mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Forcing index on starred stories.
This commit is contained in:
parent
eaab100815
commit
68dbab10bd
1 changed files with 1 additions and 0 deletions
|
@ -641,6 +641,7 @@ def load_single_feed(request, feed_id):
|
|||
starred_stories = MStarredStory.objects(user_id=user.pk,
|
||||
story_feed_id=feed.pk,
|
||||
story_hash__in=story_hashes)\
|
||||
.hint([('user_id', 1), ('story_feed_id', 1)])\
|
||||
.only('story_hash', 'starred_date', 'user_tags')
|
||||
shared_story_hashes = MSharedStory.check_shared_story_hashes(user.pk, story_hashes)
|
||||
shared_stories = []
|
||||
|
|
Loading…
Add table
Reference in a new issue