-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix #4679: Unable to set customview path for relation list #4680
Conversation
@zoomyboy can you also make a PR to the docs repo (octobercms/docs) documenting this? |
Fixes #4679 |
This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this is still being worked on, please respond and we will re-open this pull request. |
Thanks @zoomyboy! |
@daftspunk @LukeTowers aszbanas-extremecoding Is that documented somewhere ? |
@mjauvin here: octobercms/docs#409 |
I mean, shouldn't that be in october documentation?
…--
Marc
On Sat, Dec 14, 2019, 12:19 Luke Towers ***@***.***> wrote:
@mjauvin <https://github.com/mjauvin> here: octobercms/docs#409
<octobercms/docs#409>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4680?email_source=notifications&email_token=AAPLTPRFZ3ZW43NU4Q7UEP3QYUITXA5CNFSM4I7JAZY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4HCWY#issuecomment-565735771>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPLTPQPFWFBCM2CR5IHEF3QYUITXANCNFSM4I7JAZYQ>
.
|
@mjauvin @daftspunk might have to update the docs site for it to show up |
@LukeTowers never mind, it's already in the docs, I thought that was a new option in the relation config file: https://octobercms.com/docs/backend/relations#configuring-relation |
This addresses the issue that it should be possible to set a custom view path for a relation. The relation list is rendered inside of the form of the parent and generally has another "meaning" than the normal table which is rendered by default. So setting a custom view path for that relation list is probably a good option.
I set this to null by default because no path meansis's just not added to the ViewPath of the list widget:
If the view Path is null, the list just behaves as before - meaning the config value isn't set at all.