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

Profile page shows "no posts" when the last 20 posts are hidden #2000

Closed
matteocontrini opened this issue Feb 13, 2020 · 5 comments
Closed
Labels

Comments

@matteocontrini
Copy link
Contributor

matteocontrini commented Feb 13, 2020

Bug Report

Current Behavior

When the last 20 posts for a user are hidden, users that don't have the permission to view hidden posts cannot see previous (visibile) posts on the profile page.

Steps to Reproduce

  1. Take a user with at least 20 posts
  2. Delete (hide) the last (most recent) 20 posts
  3. Open the profile page for the user as a guest/regular user
  4. See that the page says "no posts"

Expected Behavior

The profile page should show posts that are not deleted.

Screenshots

Screenshot with a guest user:

immagine

With an admin user (bottom of the page):

immagine

After pressing Load more:

immagine

Environment

  • Flarum version: 0.1.0-beta.11.1

I'm not posting the other information because the issue is reproducible on https://beta.flarum.site/

Possibly related to #1333.

EDIT: wow, this is issue 2000 🎉

@franzliedke
Copy link
Contributor

Yeah, seems to be a regression of #1333.

@dsevillamartin
Copy link
Member

This is still an issue. Even if they aren't all private, it will only show the ones you can see from the latest 20 - completely disabling pagination & the ability to view all posts.

@askvortsov1
Copy link
Sponsor Member

Duplicate of #2000

@askvortsov1 askvortsov1 marked this as a duplicate of #2000 Jun 1, 2020
@askvortsov1
Copy link
Sponsor Member

Duplicate of #1327, sorry

@askvortsov1
Copy link
Sponsor Member

Fixed in #2291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants