Forem Creators and Builders 🌱

Cover image for Bug: Only 8 posts on organization (SOLVED)
Ternox
Ternox

Posted on

Bug: Only 8 posts on organization (SOLVED)

I found this bug everywhere: here, on my Forem, and on dev.to.

On the organization page, the statistics show a maximum "8 posts", even if there are many more.

Maybe someone has solved this problem on their Forem?

SOLVED:

omg, solved it.

in file for my forem-repository:
app\views\organizations\_sidebar.html.erb

change line
<%= t "views.organizations.side.post.text", count: @stories.size %>

on
<%= t "views.organizations.side.post.text", count: @organization.articles.published.size %>

Top comments (5)

Collapse
 
ternox profile image
Ternox

fixed it myself

Collapse
 
ben profile image
Ben Halpern

Hey @ternox, would you like to submit this fix upstream via pull request?

We would love to get you involved in that!

Collapse
 
ben profile image
Ben Halpern

This is the bug report issue, if you want to give it a shot:

github.com/forem/forem/issues/19456

Thread Thread
 
ternox profile image
Ternox

Thank you! I'm afraid I'm not sure what else I need to do with this.

Thread Thread
 
ben profile image
Ben Halpern

No worries, we'll get this fixed ourselves then.