diff --git a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm index 4492b36..f382a5e 100644 --- a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm +++ b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm @@ -65,6 +65,7 @@ sub valid_read { undef, { page => $c->param('page') || 1, rows => 10, + order_by => { -desc => 'submitted_at' }, }, ); $c->stash( diff --git a/templates/admin/organisations/valid_read.html.ep b/templates/admin/organisations/valid_read.html.ep index 6a9f38e..ffb7bb2 100644 --- a/templates/admin/organisations/valid_read.html.ep +++ b/templates/admin/organisations/valid_read.html.ep @@ -42,6 +42,8 @@
From: <%= $transaction->buyer->name %>
To: <%= $transaction->seller->name %>
Value: <%= $transaction->value %>
+
Submitted At: <%= $transaction->submitted_at %>
+
Purchase Time: <%= $transaction->purchase_time %>