Skip to content
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

Alternate profiles page fix #109

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Alternate profiles page fix #109

merged 1 commit into from
Oct 3, 2023

Conversation

jamiefeiss
Copy link
Collaborator

This fixes the blank Alternate Profiles page, which was an error caused by the frontend requesting the full path containing _profile=altr-ext:alt-profile. This doesn't return data required by the breadcrumbs. Now the frontend removes _profile=altr-ext:alt-profile in order to get title from the data for the breadcrumbs.

The currently used profile now displays "current" on the right nav instead of "default". Ordering of the profiles is now consistent, sorting alphabetically first and Alternates Profile at the bottom.

The mediatype quick links on the right nav now go to the API URL directly.

Resolves #108, resolves #104, resolves #102.

…tly detects current profile, fixed alt profiles page
@jamiefeiss jamiefeiss merged commit 416b9b3 into main Oct 3, 2023
1 check passed
@jamiefeiss jamiefeiss deleted the feature/alt-profiles-fix branch October 3, 2023 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternate profile API endpoint Alternates profile side bar behaviour fix Revise alternate profiles logic
2 participants