mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Limiting permalinks when looking at query popularity.
This commit is contained in:
parent
e14888d19c
commit
09cab80fa8
1 changed files with 1 additions and 0 deletions
|
@ -1493,6 +1493,7 @@ class Feed(models.Model):
|
|||
stories_db = MStory.objects(story_hash__in=story_ids)
|
||||
stories = cls.format_stories(stories_db)
|
||||
for story in stories:
|
||||
story['story_permalink'] = story['story_permalink'][:250]
|
||||
if story['story_authors'] not in feed['authors']:
|
||||
feed['authors'][story['story_authors']] = {
|
||||
'name': story['story_authors'],
|
||||
|
|
Loading…
Add table
Reference in a new issue