ash_paper_trail
ash_paper_trail copied to clipboard
paper_trail_versions should be sorted in ascending order based on version_inserted_at.
Is your feature request related to a problem? Please describe. Executing Api.load!(:paper_trail_versions) |> Enum.sort_by(& &1.version_inserted_at) every time is cumbersome.
Describe the solution you'd like Api.load!(:paper_trail_versions) should be automatically sorted based on version_inserted_at.
This should be a pretty straightforward change, we can add the sort to the relationship that we add in the relevant transformer. PRs welcome!
I'll do it.