[Fixes#80246482]

Only export from Trips Details report.
Change trips_datatable to use fetch_records to get the
data for the CSV dump and make other changes to support.