projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ff006
)
Limit the list to the most recent 50 items
author
Joey Schulze
<joey@infodrom.org>
Sun, 18 Jul 2004 10:31:29 +0000
(10:31 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 18 Jul 2004 10:31:29 +0000
(10:31 +0000)
src/Infodrom/logbook/index.wml
patch
|
blob
|
history
diff --git
a/src/Infodrom/logbook/index.wml
b/src/Infodrom/logbook/index.wml
index
52ef8c7
..
8d3f8c8
100644
(file)
--- a/
src/Infodrom/logbook/index.wml
+++ b/
src/Infodrom/logbook/index.wml
@@
-13,7
+13,7
@@
pg_exec ($dbh, "SET DateStyle = 'ISO'") or die("Datenbank-Abfrage!");
- $query = "SELECT id,teaser,created FROM logbook ORDER BY created DESC";
+ $query = "SELECT id,teaser,created FROM logbook ORDER BY created DESC
LIMIT 50
";
$sth = pg_exec ($dbh, $query) or die("Datenbank-Abfrage!");
for ($nr=0; $nr < pg_NumRows ($sth); $nr++) {