Fix geocron satellite rendering for full user lists
This commit is contained in:
@@ -201,7 +201,22 @@ foreach ($rows as $row) {
|
||||
'id' => (int)$row['id'],
|
||||
'norad_cat_id' => (int)$row['norad_cat_id'],
|
||||
'object_name' => (string)$row['object_name'],
|
||||
'object_id' => $row['object_id'] !== null ? (string)$row['object_id'] : null,
|
||||
'classification_type' => $row['classification_type'] !== null ? (string)$row['classification_type'] : null,
|
||||
'is_favorite' => (int)($row['is_favorite'] ?? 0) === 1,
|
||||
'epoch' => (string)$row['epoch'],
|
||||
'mean_motion' => (float)$row['mean_motion'],
|
||||
'eccentricity' => (float)$row['eccentricity'],
|
||||
'inclination' => (float)$row['inclination'],
|
||||
'ra_of_asc_node' => (float)$row['ra_of_asc_node'],
|
||||
'arg_of_pericenter' => (float)$row['arg_of_pericenter'],
|
||||
'mean_anomaly' => (float)$row['mean_anomaly'],
|
||||
'ephemeris_type' => (int)$row['ephemeris_type'],
|
||||
'element_set_no' => (int)$row['element_set_no'],
|
||||
'rev_at_epoch' => (int)$row['rev_at_epoch'],
|
||||
'bstar' => (float)$row['bstar'],
|
||||
'mean_motion_dot' => (float)$row['mean_motion_dot'],
|
||||
'mean_motion_ddot' => (float)$row['mean_motion_ddot'],
|
||||
'tle_line1' => buildLine1($row, $row),
|
||||
'tle_line2' => buildLine2($row, $row),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user