diff --git a/lib/query/query_supporters.rb b/lib/query/query_supporters.rb index c141ff12..a0f9f5b0 100644 --- a/lib/query/query_supporters.rb +++ b/lib/query/query_supporters.rb @@ -609,11 +609,11 @@ UNION DISTINCT aggregate_dons = %Q( array_to_string( array_agg( - payments.created_at::date || ' ' || + payments.date::date || ' ' || (payments.gross_amount / 100)::text::money || ' ' || coalesce(payments.kind, '') || ' ' || coalesce(payments.towards, '') - ORDER BY payments.created_at DESC + ORDER BY payments.date DESC ), '\n' ) AS "Payment History"