django-loci icon indicating copy to clipboard operation
django-loci copied to clipboard

[bug:ux] You can select outdoor locations when creating floor plans

Open pniaps opened this issue 4 years ago • 1 comments

Whe clicking on "Select item" to select the location of the floor plan, you can select outdoor locations, and when you try to save it, an error "floorplans can only be associated to locations of type "indoor"" is shown.

pniaps avatar Sep 18 '21 14:09 pniaps

I think restricting the queryset of the location relation should work.

nemesifier avatar Sep 18 '21 15:09 nemesifier