Skip to content

Commit 85c2743

Browse files
committed
Resolve conflicts
2 parents e68e267 + 00cda14 commit 85c2743

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
### Fixes
1414

1515
* Ensure relationship convert handler can handle properly some cases where the document and request modes are different.
16+
* Let the `@apostrophecms/page:unpark` task unpark all parked pages with the given slug, not just the first one.
1617
* Exclude unknown page types from the page manager.
1718

1819
## 4.19.0 (2025-07-09)

modules/@apostrophecms/page/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ database.`);
26492649
}
26502650
const slug = argv._[1];
26512651
const count = await self.apos.doc.db
2652-
.updateOne({ slug }, { $unset: { parked: 1 } });
2652+
.updateMany({ slug }, { $unset: { parked: 1 } });
26532653
if (!count) {
26542654
throw 'No page with that slug was found.';
26552655
}

0 commit comments

Comments
 (0)