mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Fixed exporting email only posts
refs https://github.com/TryGhost/Team/issues/2678 Default post filter was used because we didn't pass a filter.
This commit is contained in:
parent
108ccd7fb6
commit
0b26f09e88
@ -34,7 +34,7 @@ class PostsExporter {
|
||||
*/
|
||||
async export({filter, order, limit}) {
|
||||
const posts = await this.#models.Post.findPage({
|
||||
filter,
|
||||
filter: filter ?? 'status:published,status:sent',
|
||||
order,
|
||||
limit,
|
||||
withRelated: [
|
||||
|
Loading…
Reference in New Issue
Block a user