Verified Commit 83432f16 authored by Luc Didry's avatar Luc Didry
Browse files

🐛 — Fix #163 — Fix invitations sorting order

parent 7f46f1f9
Revision history for Lufi Revision history for Lufi
?.??.? ????-??-?? ?.??.? ????-??-??
- Fix invitations sorting order (#163)
0.04.3 2019-09 29 0.04.3 2019-09 29
- Translate dates in invitations (#161) - Translate dates in invitations (#161)
......
...@@ -302,7 +302,7 @@ sub from_user { ...@@ -302,7 +302,7 @@ sub from_user {
my $user = shift; my $user = shift;
my $r = $c->app->dbi->db my $r = $c->app->dbi->db
->select('invitations', undef, { ldap_user => $user }) ->select('invitations', undef, { ldap_user => $user }, { -desc => 'created_at' })
->hashes; ->hashes;
if ($r->size) { if ($r->size) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment