SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
107 stars 55 forks source link

Redirect on org change if necessary #4576

Closed perryr16 closed 6 months ago

perryr16 commented 6 months ago

Any background context you want to provide?

When changing the organization from the menu, the page did not redirect to that org's data if the url contained an organization_id argument.

What's this PR do?

checks for the presence of the organization_id arg and updates it if necessary

How should this be manually tested?

With multiple orgs navigate to any of the organization settings pages. Change the org from the dropdown. The page data should reflect the newly selected org.

What are the relevant tickets?

4575

Screenshots (if appropriate)

Screenshot 2024-03-19 at 1 17 45 PM

github-actions[bot] commented 6 months ago

Label error. Requires at least 1 of: Feature, Bug, Enhancement, Maintenance, Documentation, Performance, Do not publish. Found: