steemit / hivemind

Developer-friendly microservice powering social networks on the Steem blockchain.
MIT License
73 stars 66 forks source link

Issue with the bridge.get_ranked_posts API #310

Open starlord2826 opened 3 years ago

starlord2826 commented 3 years ago

If a post on Steem is created and before anyone votes on it, is deleted, then this post does not appear on the filter by tags age. This seems to affect only the posts that are deleted and recreated with the same title. If the user decides to edit the post instead of deleting it, then the post shows up in the API responses.

{"id":10,"jsonrpc":"2.0","method":"bridge.get_ranked_posts","params":{"sort":"created","tag":"academy-intro01","limit":100,"start_author":"","start_permlink":"","observer":"bestofindia"}} This is the JSON request body.

https://steemit.com/hive-108451/@sachin08/crypto-academy-season-3-beginner-s-course-homework-post-for-task-1-steem-and-tron This is the missing post. On looking at steemworld, it seems like the author had deleted his post before recreating it with the same title. image

This post is also not visible on the Steemit frontend. The only way someone can view this post is by going to the user's account to check the posts that he/she has made. @ety001 created a bug for this 🐛