From: Mischa POSLAWSKY Date: Fri, 16 Apr 2021 14:20:46 +0000 (+0200) Subject: issue: ordered overview including closed tickets X-Git-Tag: v5.4~15 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/a257ef8b6e9d435938803471bd655be9d9734370 issue: ordered overview including closed tickets Especially broken timeline with many open tickets. --- diff --git a/issue/index.php b/issue/index.php index 9a35df8..35a1116 100644 --- a/issue/index.php +++ b/issue/index.php @@ -75,7 +75,7 @@ $sql = "SELECT $cols FROM issues i WHERE page = ?"; if (isset($_GET['open'])) { $sql .= ' AND closed IS NULL'; } -$sql .= ' ORDER BY closed IS NOT NULL, updated DESC'; +$sql .= ' ORDER BY updated DESC'; $query = $Db->query($sql, [$Page->handler]); if ($id == 'feed') {