git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue: order by last update, changed on reply
[minimedit.git]
/
issue
/
index.php
diff --git
a/issue/index.php
b/issue/index.php
index d8f9c261e65b877764dafca34e28488dc2e9cfa4..2c50624f9a7fc1cbc7fae406ce4fb65f76eea1a6 100644
(file)
--- a/
issue/index.php
+++ b/
issue/index.php
@@
-39,7
+39,7
@@
if ($_POST) {
$_POST = [];
}
$_POST = [];
}
-$query = $Db->query('SELECT * FROM issues ORDER BY
cre
ated DESC');
+$query = $Db->query('SELECT * FROM issues ORDER BY
upd
ated DESC');
ob_start();
print '<ul>';
ob_start();
print '<ul>';
@@
-48,7
+48,7
@@
while ($row = $query->fetch()) {
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
- showdate(array_slice(preg_split('/\D/', $row->
cre
ated), 0, 3))
+ showdate(array_slice(preg_split('/\D/', $row->
upd
ated), 0, 3))
);
print "</li>\n";
}
);
print "</li>\n";
}