Skip to content

Commit

Permalink
change studio order
Browse files Browse the repository at this point in the history
  • Loading branch information
DaWe35 committed Nov 8, 2020
1 parent 3cba318 commit 470aad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get/studio/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$stmt_streams = $db->prepare("SELECT `streamid`, `token`, `title`, `description`, `scheule_time`, `started`, `finished`, `visibility` FROM `stream` WHERE userid = ? AND visibility != 'deleted' ORDER BY streamid DESC");
$stmt_streams = $db->prepare("SELECT `streamid`, `token`, `title`, `description`, `scheule_time`, `started`, `finished`, `visibility` FROM `stream` WHERE userid = ? AND visibility != 'deleted' ORDER BY scheule_time DESC, streamid DESC");
if (!$stmt_streams->execute([$_SESSION['id']])) {
exit('Database error');
}
Expand Down

0 comments on commit 470aad0

Please sign in to comment.