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
Looks like I screwed something in the JSON that grabs call information, if you have had a previous contact the state field isn't populated, this needs fixed.
The text was updated successfully, but these errors were encountered:
You haven't screwed with anything there. As far as I can read the code, state is never fetched. I added it locally, but things are only set if a name is set on the previous QSO.
From logbook.php line 118: // Do we have local data for the Callsign? if($this->logbook_model->call_name($callsign) != null)
Usually a name is set, but not always. Perhaps the logic needs a rewrite, as well as getting the state?
Wouldn't it be better to just fetch the latest qso based on callsign, ordered by logged time and limit 1? Then fill the array with information? The way it is done now, several calls are made to the database.
Looks like I screwed something in the JSON that grabs call information, if you have had a previous contact the state field isn't populated, this needs fixed.
The text was updated successfully, but these errors were encountered: