Exporting a sorted sum column with ExportAction
Im trying to export a list of users with a sum column.
im my table for users i added this:
The get colums method for the exporter looks like this:
this all works. the table shows the sum correctly and i can export it. however when i sort the table on the rides_sum_distance i get the following error for the PrepareCsvExport job:
It seems like the moment a sort is added the export looks for the colomn in the database. Is there any way to prevent this ?
im my table for users i added this:
The get colums method for the exporter looks like this:
this all works. the table shows the sum correctly and i can export it. however when i sort the table on the rides_sum_distance i get the following error for the PrepareCsvExport job:
It seems like the moment a sort is added the export looks for the colomn in the database. Is there any way to prevent this ?