🐛 — Fix #163 — Fix invitations sorting order
This commit is contained in:
parent
7f46f1f91c
commit
83432f1625
|
@ -1,6 +1,7 @@
|
||||||
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 {
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue