Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

### Fixes

* Let the `@apostrophecms/page:unpark` task unpark all parked pages with the given slug, not just the first one.
* Exclude unknown page types from the page manager.

## 4.19.0 (2025-07-09)
Expand Down
2 changes: 1 addition & 1 deletion modules/@apostrophecms/page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2649,7 +2649,7 @@ database.`);
}
const slug = argv._[1];
const count = await self.apos.doc.db
.updateOne({ slug }, { $unset: { parked: 1 } });
.updateMany({ slug }, { $unset: { parked: 1 } });
if (!count) {
throw 'No page with that slug was found.';
}
Expand Down