aboutsummaryrefslogtreecommitdiff
path: root/model/Conferences.php
diff options
context:
space:
mode:
authorMaZderMind2017-05-28 13:00:54 +0200
committerMaZderMind2017-05-28 13:00:54 +0200
commit0709f6f0abf36ea24344242bbd614cb809274832 (patch)
treea8af323e89378e7a8b80ccb86583c970a3256e74 /model/Conferences.php
parent7606f79f41811b3d04821fa04a747f511a49addf (diff)
tweak sorting
Diffstat (limited to 'model/Conferences.php')
-rw-r--r--model/Conferences.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Conferences.php b/model/Conferences.php
index f930e32..f7276ac 100644
--- a/model/Conferences.php
+++ b/model/Conferences.php
@@ -48,7 +48,7 @@ class Conferences
$sorted = Conferences::getConferences();
usort($sorted, function($a, $b) {
- return $b->startsAt() > $a->endsAt() ? 1 : -1;
+ return $b->startsAt() > $a->startsAt() ? 1 : -1;
});
return $sorted;