Skip to content

Commit b62c9c6

Browse files
committed
Fix disabled entries not visible in plan description field
1 parent 6c69b6e commit b62c9c6

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
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- Fixed a bug where disabled entries linked as subscription plan descriptions weren't visible on Edit Plan pages. ([#4229](https://github.com/craftcms/commerce/issues/4229))
56
- Fixed an error that could occur when editing inventory locations. ([#4233](https://github.com/craftcms/commerce/issues/4233))
67
- Fixed a SQL error that could occur when querying for unfulfilled orders on PostgreSQL. ([#4228](https://github.com/craftcms/commerce/issues/4228))
78
- Fixed an error that could occur when resaving variants. ([#4226](https://github.com/craftcms/commerce/issues/4226))

src/templates/subscriptions/plans/_edit.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
{{ forms.elementSelectField({
3434
elementType: entryElementType,
35-
elements: (plan and plan.planInformationId) ? craft.entries.id(plan.planInformationId).all() : null,
35+
elements: (plan and plan.planInformationId) ? craft.entries.status(null).id(plan.planInformationId).all() : null,
3636
instructions: "The entry that contains the description for this subscription’s plan."|t('commerce'),
3737
id: 'planInformation',
3838
label: "Description"|t(','),

0 commit comments

Comments
 (0)