nobleord Posted October 21, 2023 Report Share Posted October 21, 2023 When importing a flight will the flight distance be calculated during the import? I tried both a 0 in the field and also leaving it blank in the import file, but the distance was not calculated when viewing the flight on the admin page after the import. Thanks, Bryan Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted October 21, 2023 Report Share Posted October 21, 2023 It is auto calculated when creating a new flight via admin interface but not during import as far as I remember. Quote Link to comment Share on other sites More sharing options...
nobleord Posted October 22, 2023 Author Report Share Posted October 22, 2023 Drat. I looked in v5 and there is an option to "recalculate" the distances of each in the flight admin page but didn't see something similar while poking around in v7. (It also did the calculation during the import) Is there a feature request wish list to add a "recalculate" option? Thanks, Bryan Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted October 22, 2023 Report Share Posted October 22, 2023 5 hours ago, nobleord said: Drat. I looked in v5 and there is an option to "recalculate" the distances of each in the flight admin page but didn't see something similar while poking around in v7. (It also did the calculation during the import) Is there a feature request wish list to add a "recalculate" option? Thanks, Bryan Of course, there is a Feature Request option at GitHub, also bug reporting is possible, both being tracked and discussed there. https://github.com/nabeelio/phpvms/issues/new/choose https://github.com/nabeelio/phpvms/issues Safe flights Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted October 22, 2023 Report Share Posted October 22, 2023 (edited) Checked flight import code, if the distance is not supplied (empty, null) importer is designed to auto calculate @nobleord ... If it is not working please open a bug report instead of a feature request Safe flights Edited October 25, 2023 by DisposableHero Quote Link to comment Share on other sites More sharing options...
nobleord Posted October 23, 2023 Author Report Share Posted October 23, 2023 Thanks, will have a look at the GitHub links. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.