Fixed bug when contributions had the same title

in #utopian-io6 years ago (edited)

The issue

When two contributions had the same title a bug was causing the links to point to the same content. This means that the in some cases, the contribution was being shown with the wrong author. Here's the GIF showing the problem:


The bug was caused by a wrong query in the contributions to find the correct contribution to render. To show the proper contribution the query must include the author name and the permlink. But the first one was being ignored. In most cases, this wasn't a problem because the permlinks usually are different from each other, but there are cases that they are the same.


Screenshot from 2018-03-14 18.14.26.png

Posted on - Rewarding Open Source Contributors


Thank you for the contribution. It has been approved.

You can contact us on Discord.

good job dude, i love it

Coin Marketplace

STEEM 0.29
TRX 0.14
JST 0.036
BTC 60989.58
ETH 3366.67
USDT 1.00
SBD 4.64