Describe the bug
Currently, when a user exports their data via JSON, posts in a collection which are pinned are not included in the exported JSON file. This behavior is absent from the txt and csv exports (but IS present for the Prettified export).
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
- Create a post.
- Click on "pin" from that collection's page (i.e. domain-name/my-cool-blog)
- Go to domain-name/me/export.
- Click "JSON" or "Prettified" and download the file.
- Open the JSON file. The pinned post will be missing from that collection's
posts value (the array will be empty if there are no unpinned posts in that collection).
Expected behavior
All posts should be included in the posts array, regardless of its pinned_position value.
Application configuration
- Multi-user mode
- Mysql
- Open registration? Yes
- Federation enabled? Yes
Version or last commit: 0.9.1
Describe the bug
Currently, when a user exports their data via JSON, posts in a collection which are pinned are not included in the exported JSON file. This behavior is absent from the txt and csv exports (but IS present for the Prettified export).
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
postsvalue (the array will be empty if there are no unpinned posts in that collection).Expected behavior
All posts should be included in the
postsarray, regardless of itspinned_positionvalue.Application configuration
Version or last commit: 0.9.1