You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A location cannot be added to multiple location groups (lines 48-49 in LocationGroupRepository.cs seem to restrict that).
If a location is in multiple location groups it can only have one as DisplayGroupId (that property is in the Location record).
Steps:
Fix LocationGroupRepository to allow a location to be in multiple groups properly.
Investigate removing the DisplayGroupId property from the Locations table to remove the 1-to-1 restriction and moving that relationship to a ShowOnMap property in LocationGroup. Does this break anything? There's no reason a location shouldn't be able to be in two maps.
Add the management of location groups to the new Locations management interface (under /Locations/ in Ops rather than the old interface under /SiteManagement/Locations/).
Currently:
LocationGroupRepository.csseem to restrict that).DisplayGroupId(that property is in theLocationrecord).Steps:
LocationGroupRepositoryto allow a location to be in multiple groups properly.DisplayGroupIdproperty from theLocationstable to remove the 1-to-1 restriction and moving that relationship to aShowOnMapproperty inLocationGroup. Does this break anything? There's no reason a location shouldn't be able to be in two maps./Locations/in Ops rather than the old interface under/SiteManagement/Locations/).