New bootstrap-based layout #30
@ -79,7 +79,7 @@ class PhotoMosaic
|
||||
return -$priority_diff;
|
||||
|
||||
// In other cases, we'll just show the newest first.
|
||||
return $a->getDateCaptured() > $b->getDateCaptured() ? -1 : 1;
|
||||
return $a->getDateCaptured() <=> $b->getDateCaptured();
|
||||
}
|
||||
|
||||
private static function daysApart(Image $a, Image $b)
|
||||
|
Loading…
Reference in New Issue
Block a user