3685: Fix redirect link on organization overview form (#3867)

* Fix redirect links to organization forms
This commit is contained in:
Erin Song 2025-06-09 14:35:24 -07:00 committed by GitHub
parent 4f77fa661f
commit d5a521af0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -993,8 +993,8 @@ class PortfolioOrganizationInfoView(DetailView, FormMixin):
return self.render_to_response(self.get_context_data(form=form))
def get_success_url(self):
"""Redirect to the overview page for the portfolio."""
return reverse("organization")
"""Redirect to the org info page for the portfolio."""
return reverse("organization-info")
@grant_access(IS_PORTFOLIO_MEMBER)
@ -1065,7 +1065,7 @@ class PortfolioSeniorOfficialView(DetailView, FormMixin):
def get_success_url(self):
"""Redirect to the overview page for the portfolio."""
return reverse("senior-official")
return reverse("organization-senior-official")
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)