kwatman
Explore posts from serversShow a navigation item for each type entry that exists
Hello in my app i have a location model. the location model has a relation with a type model. when i click on the locations navigation item i want a sub navigation to open where i can select which type of location i want to see. so if i have a type of town and city. i want two navigation items to appear. a town and a city navigation item. when clicking one of them i want it to show a table with either all locations of type town or city. depending in which one you clicked. is there a way to do this in filament ?
2 replies
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 ?
13 replies