Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
e6490585
Commit
e6490585
authored
Jan 27, 2017
by
tvbussel
Browse files
Fix order events in list view
parent
e653498d
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/static/events/js/calendarlistview.js
View file @
e6490585
...
...
@@ -24,7 +24,7 @@ ListView = View.extend({ // make a subclass of View
}
events
.
sort
(
function
(
a
,
b
)
{
return
a
.
start
>
b
.
start
;
return
a
.
start
<
b
.
start
?
-
1
:
a
.
start
>
b
.
start
:
1
:
0
;
});
for
(
var
i
=
0
;
i
<
events
.
length
;
i
++
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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