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

Admin can only view stats if they've published a post #1437

Open
1 task done
gordonsumac opened this issue Sep 19, 2024 · 0 comments
Open
1 task done

Admin can only view stats if they've published a post #1437

gordonsumac opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gordonsumac
Copy link

gordonsumac commented Sep 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Attempting to view the stats for all posts fails as the dropdown to select the option to view Your stats|All Stats doesn't show if the admin/editor hasn't published any posts.

Expected Behavior

The admin/editor can view the stats for all posts without having to publish one themselves.

Steps To Reproduce

  1. Create admin user
  2. Create editor
  3. Create posts with editor account, view in browser
  4. Log in as admin, try to view stats.

Environment

PHP: 8.1
Laravel: 8
Database driver: MariaDB 10

Anything else?

No response

@gordonsumac gordonsumac added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant