stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
80 stars 52 forks source link

list demons created/published/verified links go to the wrong levels #35

Closed ghost closed 4 years ago

ghost commented 4 years ago

clickable level links in a player's list demons created/published/verified link to the wrong demon pages

for example, in nSwish's list demons verified, "cognition" wrongfully links to "wander of thought"

image image (should link to /demonlist/6/)

stadust commented 4 years ago

aw man, I must have switched up IDs and positions somewhere

stadust commented 4 years ago

Problem's in this line, should be demon.position, not demon.id https://github.com/stadust/pointercrate/blob/b69a035ae871e0165c90b722fb6471b9f33274ff/static2/js/modules/demonlist.mjs#L229

stadust commented 4 years ago

Closed by #37