Skip to content

Bugfix: Template creation was failing due to invalid visibility value - #2459

Merged
xsrust merged 1 commit into
masterfrom
issue2452
Apr 17, 2020
Merged

Bugfix: Template creation was failing due to invalid visibility value#2459
xsrust merged 1 commit into
masterfrom
issue2452

Conversation

@briri

@briri briri commented Apr 16, 2020

Copy link
Copy Markdown
Contributor

Fixes #2458 .

This only impacts Orgs that have multiple Org types (e.g. both a Funder and an Institution).

Changes proposed in this PR:

  • Add line back into the templates controller that converts the :visibility checkbox from a '0' or '1' into organizationally_visible or publicly_visible.
@xsrust

xsrust commented Apr 17, 2020

Copy link
Copy Markdown
Contributor

Thanks @briri
We'd had people's templates which had converted to publicly_visible and were not showing up from within the create-plan wizard, but I'd thought it was just a data-issue with some of the older templates

@xsrust
xsrust merged commit 17954d0 into master Apr 17, 2020
@briri
briri deleted the issue2452 branch April 20, 2020 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants