membermatters / MemberMatters

An open source membership, access and payments portal for makerspaces and community groups.
https://membermatters.org
MIT License
40 stars 23 forks source link

Lat/Long are forced to INT rather than FLOAT when SpaceDir is enabled. #217

Closed proffalken closed 9 months ago

proffalken commented 9 months ago

Describe the bug When enabling the SpaceDirectory API and updating the data, lat/long need to be INT according to the UI To Reproduce Steps to reproduce the behavior:

  1. Log in to the admin panel
  2. Enable the SpaceDirectory API
  3. Try to set the lat/lng to values other than an INT
  4. See error

Expected behavior Latitude and Longitude should be expressed as float values

rnestler commented 9 months ago

See also the spaceapi documentation at: https://spaceapi.io/docs/#schema-key-location

jabelone commented 9 months ago

Should be fixed by #218