Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong poster id for op in api #783

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

perdedora
Copy link
Member

This PR fixes wrong poster id in the api. Following the same logic as poster_id.html.
Also removes third argument since it doesnt exists in poster_id function

{% if post.thread %}
<span class="poster_id">{{ post.ip|poster_id(post.thread) }}</span>
{% else %}
<span class="poster_id">{{ post.ip|poster_id(post.id) }}</span>
{% endif %}

Current:
image
image

PR:
image

@perdedora perdedora changed the title fix: wrong poster id for op fix: wrong poster id for op in api Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant