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

Number of user posts not shown when deleting a user #7136

Closed
kevinansfield opened this issue Jul 25, 2016 · 0 comments · Fixed by TryGhost/Admin#144
Closed

Number of user posts not shown when deleting a user #7136

kevinansfield opened this issue Jul 25, 2016 · 0 comments · Fixed by TryGhost/Admin#144
Labels
affects:admin Anything relating to Ghost Admin bug [triage] something behaving unexpectedly
Milestone

Comments

@kevinansfield
Copy link
Contributor

Issue Summary

When deleting a user, if that user has authored any posts the number of posts that will be deleted is supposed to be highlighted in the delete user modal. That is not currently working.

Steps to Reproduce

  1. Create an author and save/publish some posts as that author
  2. Log out
  3. Log in as an owner/admin
  4. Select the author created in step 1
  5. Click the cog icon then select "Delete User"
  6. Note that the number of posts that user has authored is not shown in the modal

Technical details:

  • Ghost Version: master
@kevinansfield kevinansfield added bug [triage] something behaving unexpectedly affects:admin Anything relating to Ghost Admin labels Jul 25, 2016
kevinansfield added a commit to kevinansfield/Ghost-Admin that referenced this issue Jul 25, 2016
closes TryGhost/Ghost#7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
kevinansfield added a commit to kevinansfield/Ghost-Admin that referenced this issue Aug 23, 2016
closes TryGhost/Ghost#7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
- update mirage user endpoints to respect `?include=count.posts` param
@kevinansfield kevinansfield added this to the 0.10.0 milestone Aug 23, 2016
kevinansfield added a commit to kevinansfield/Ghost-Admin that referenced this issue Aug 23, 2016
closes TryGhost/Ghost#7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
- update mirage user endpoints to respect `?include=count.posts` param
kevinansfield added a commit to kevinansfield/Ghost-Admin that referenced this issue Aug 24, 2016
closes TryGhost/Ghost#7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
- update mirage user endpoints to respect `?include=count.posts` param
acburdine pushed a commit to TryGhost/Admin that referenced this issue Aug 24, 2016
closes TryGhost/Ghost#7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
- update mirage user endpoints to respect `?include=count.posts` param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:admin Anything relating to Ghost Admin bug [triage] something behaving unexpectedly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant