You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Link Fieldtype a lot for buttons so users can choose between an url or an entry. Right now i use the Link Fieldtype in a multi-site website. When you select an entry and you create the site for another site, than the Link Fieldtype always returns the url of the entry you selected and not the url of the entry of the current site.
How to reproduce
Have a multi-site installation
Add a Link Fieldtype to a collection
Create a new entry in site A and select another entry in the Link Fieldtype which also has a version for site A and site B.
Duplicate the entry to site B and just save and publish the entry.
In the frontend you will always get the url of Site A, even when the current site is site B
Bug description
I am using the Link Fieldtype a lot for buttons so users can choose between an url or an entry. Right now i use the Link Fieldtype in a multi-site website. When you select an entry and you create the site for another site, than the Link Fieldtype always returns the url of the entry you selected and not the url of the entry of the current site.
How to reproduce
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
I have created a solution already, i will make a PR for it.
The text was updated successfully, but these errors were encountered: