Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Armando Lüscher
lufi
Commits
83432f16
Verified
Commit
83432f16
authored
Oct 07, 2019
by
Luc Didry
Browse files
🐛
— Fix #163 — Fix invitations sorting order
parent
7f46f1f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
83432f16
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)
...
...
lib/Lufi/DB/Invitation.pm
View file @
83432f16
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment