-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[com_fields] - fix show on side/admin/both #24397
Conversation
I have tested this item ✅ successfully on 322f2c2 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24397. |
@boomsya please test. |
Thx, I tested it my self. |
Actually, this has broken field display. I think the "Show on" setting should only affect where the field should be visible in the edit view - in admin, in front end or both. However, now the field is not displayed any more in the article view if the "Show on" setting is set to "Administrator", regardless of the "Automatic display" setting under "Render options". |
The PR was adding a check to display the custom field on the frontend based on a parameter that was meant to be a check for the edit form
Pull Request for Issue #23246 .
Summary of Changes
Checked if the field should be showed on the form
Testing Instructions
create edit an article custom field
set show on to adminstrator only
Expected result
the field is not showed on from site
Actual result
the field is showed on from site despite settings