mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Add helper methods to determine a QSO's primary grid, lookup DXCC coordinates (with caching and logbook_model.dxcc_lookup fallback), and resolve candidate distances by preferring grid-to-grid QRA distance with a DXCC-coordinate fallback. Update highlight DX queries to select time, DXCC and DXCC lat/long and join dxcc_entities. Replace duplicated inline distance logic with a single build_highlight_dx_from_candidates routine that picks the farthest candidate and sets COL_DISTANCE (rounded to int). This centralizes distance computation and ensures QSOs without stored distances but with grids or DXCC data are correctly considered. |
||
|---|---|---|
| .. | ||
| config | ||
| controllers | ||
| core | ||
| helpers | ||
| hooks | ||
| language | ||
| libraries | ||
| logs | ||
| migrations | ||
| models | ||
| third_party | ||
| views | ||
| .htaccess | ||
| index.html | ||