Skip to content
Snippets Groups Projects
Commit 16b94bbb authored by Marcin's avatar Marcin
Browse files

issue 76: wrong is_pinned from get_ranked_post

parent 10d70b96
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!315Mi issue 76 wrong is pinned get ranked post
......@@ -237,7 +237,7 @@ async def get_ranked_posts(context, sort:str, start_author:str='', start_permlin
for row in sql_result:
post = _bridge_post_object(row)
post['active_votes'] = await find_votes_impl(db, row['author'], row['permlink'], VotesPresentation.BridgeApi)
post = append_statistics_to_post(post, row, False, blacklists_for_user)
post = append_statistics_to_post(post, row, row['is_pinned'], blacklists_for_user)
posts.append(post)
return posts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment