-
Notifications
You must be signed in to change notification settings - Fork 35
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
location_url in event incorrectly links to CMS #2852
Comments
Hmmm.... I am not sure if we should rather just use the slug/path instead of a full URL? That would provide us with more flexibility in the apps while probably less logic is required in the CMS (and it would follow the structure of all other properties/endpoints). |
True, but then it's not really a bug ticket anymore :D |
@steffenkleinle @LeandraH |
That would be cool. I guess at that point it shouldn't be called |
And should the outpup be "/testumgebung/de/locations/testort"? |
Yes, but probably including a trailing slash. |
@LeandraH @steffenkleinle |
It is not yet used so it can easily be removed. |
Awesome, thank you for the quick fix! |
Describe the Bug
The
location_url
in events links to the CMS, not the app.Steps to Reproduce
location_url
is 'https://admin.integreat-app.de/testumgebung/de/locations/testort/'.Expected Behavior
The
location_url
should be 'https://integreat.app/testumgebung/de/locations/testort', aka the link to the location in the app.Actual Behavior
The
location_url
is 'https://admin.integreat-app.de/testumgebung/de/locations/testort/', aka the link to the location in the CMS.The text was updated successfully, but these errors were encountered: