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

Add links to all roles to worldwide organisation content item presenter #8162

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

jkempster34
Copy link
Contributor

@jkempster34 jkempster34 commented Aug 23, 2023

Warning

🚨 Do not merge! 🚨 Depends on alphagov/publishing-api#2478 being merged

https://trello.com/c/54I3mDxr

People linked to a worldwide organisation may have multiple roles, some of which are related to other organsaitions. Currently, we are incorrectly displaying these roles on the world wide organisation pages.

This copies the approach taken in alphagov/collections#1719. We link to all roles from the worldwide organisation, then filter out the incorrect ones in the rendering app.

See also alphagov/publishing-api#2478 and alphagov/government-frontend#2906.


⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

@jkempster34 jkempster34 force-pushed the add-all-roles-to-ww-org branch from f9664ee to c287df5 Compare August 23, 2023 11:08
jkempster34 added a commit to alphagov/publishing-api that referenced this pull request Aug 24, 2023
People linked to a worldwide organisation may have multiple roles, some of
which are related to other organsaitions. Currently, we are incorrectly
displaying these roles on the world wide organisation pages.

This copies the approach taken in alphagov/collections#1719. We link to all
roles from the worldwide organisation, then filter out the incorrect ones in
the rendering app.

See also alphagov/whitehall#8162 and alphagov/government-frontend#2906.
@jkempster34 jkempster34 force-pushed the add-all-roles-to-ww-org branch from c287df5 to bd321fe Compare August 24, 2023 09:20
jkempster34 added a commit to alphagov/government-frontend that referenced this pull request Aug 24, 2023
People linked to a worldwide organisation may have multiple roles, some of
which are related to other organsaitions. Currently, we are incorrectly
displaying these roles on the worldwide organisation pages.

This copies the approach taken in alphagov/collections#1719. We link to all
roles from the worldwide organisation, then filter out the incorrect ones in
the rendering app.

See also alphagov/publishing-api#2478 and alphagov/whitehall#8162.
@jkempster34 jkempster34 marked this pull request as ready for review August 24, 2023 13:07
People linked to a worldwide organisation may have multiple roles, some of
which are related to other organsaitions. Currently, we are incorrectly
displaying these roles on the world wide organisation pages.

This copies the approach taken in alphagov/collections#1719. We link to all
roles from the worldwide organisation, then filter out the incorrect ones in
the rendering app.

See also alphagov/publishing-api#2478 and alphagov/government-frontend#2906.
@jkempster34 jkempster34 force-pushed the add-all-roles-to-ww-org branch from bd321fe to fc097b7 Compare August 25, 2023 09:22
@jkempster34 jkempster34 enabled auto-merge August 25, 2023 09:27
@jkempster34 jkempster34 merged commit 508a407 into main Aug 25, 2023
@jkempster34 jkempster34 deleted the add-all-roles-to-ww-org branch August 25, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants