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
106 stars 55 forks source link

Fix merge modal for all cycles #4612

Closed axelstudios closed 2 months ago

axelstudios commented 2 months ago

Any background context you want to provide?

When requesting filtered properties with the /api/v3/properties/filter/ endpoint, if you leave out the cycle param the backend defaults to the first alphabetical cycle

What's this PR do?

How should this be manually tested?

  1. In an org with multiple cycles, go to the Inventory List page and select any cycle that is not alphabetically sorted first

  2. Select a few records, and then open the Merge modal

  3. Ensure that the data appears as expected

  4. Go to the Inventory Map page

  5. Toggle between different cycles, ensure that different (and correct) data appears for each cycle

perryr16 commented 2 months ago

This PR fixes #4606