Skip to content

Conversation

@sorrell
Copy link
Contributor

@sorrell sorrell commented Jul 30, 2025

This PR includes several small bug fixes and improvements:

Fix PostgreSQL latitude/longitude serialization (#378) - Location model now properly casts lat/lng as floats for consistent JSON serialization across SQLite and PostgreSQL
Add SAFER report refresh functionality (#158) - Can now refresh Carrier SAFER data with 24-hour cooldown
Fix organization sidebar behavior (#362) - Organization menu button now properly expands collapsed sidebar
Improve audit history queries - Fixed polymorphic relationship queries to prevent SQL errors
Fix input text color in dark mode (#149) - Input fields now have proper text color in dark theme
Update location map markers (#377) - Google Maps markers now display with proper colored icons and labels
Remove hardcoded Docker container name - Allows multiple LocalStack instances
Improve subscription limits handling (#376) - Fixes broken dev environment on billing disabled, refactors limit handling code

sorrell added 9 commits July 30, 2025 14:07
…lues as strings, while SQLite returns them as numbers. By adding the property to the Location model with 'latitude' => 'float' and 'longitude' => 'float',

  Laravel will now automatically convert these values to proper float numbers when the model is serialized to JSON, ensuring the Google Maps API receives the correct numeric values it expects for the setPosition method.

  This fix ensures consistent behavior between SQLite and PostgreSQL databases by explicitly casting the decimal latitude/longitude values to floats at the model level.
@sorrell sorrell merged commit 4035def into main Jul 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants