Sort day folder by date taken
parent
772a59c868
commit
08dbabb3f2
|
@ -124,7 +124,8 @@ class TimelineQuery {
|
|||
INNER JOIN `*PREFIX*filecache`
|
||||
ON `*PREFIX*filecache`.`fileid` = `*PREFIX*memories`.`fileid`
|
||||
AND (`*PREFIX*filecache`.`parent`=? OR `*PREFIX*filecache`.`fileid`=?)
|
||||
WHERE `*PREFIX*memories`.`dayid`=?';
|
||||
WHERE `*PREFIX*memories`.`dayid`=?
|
||||
ORDER BY `*PREFIX*memories`.`datetaken` DESC';
|
||||
$rows = $this->connection->executeQuery($sql, [$folderId, $folderId, $dayId], [
|
||||
\PDO::PARAM_INT, \PDO::PARAM_INT, \PDO::PARAM_INT,
|
||||
])->fetchAll();
|
||||
|
|
Loading…
Reference in New Issue