summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorKjetil Ørbekk <orbekk@pvv.ntnu.no>2010-09-04 11:00:11 -0400
committerKjetil Ørbekk <orbekk@pvv.ntnu.no>2010-09-04 11:00:11 -0400
commita75305bf103568af904028d0bc63e35056f9bc9c (patch)
treebbb68aae98cc4866e35eb386f1c2eb3d12c06e55 /html
parentaee0930bf89ecf1afcaa2878bf06cdc3b744ca55 (diff)
Fix quote numbers displayed on front page
Diffstat (limited to 'html')
-rw-r--r--html/quotes.jsp4
1 files changed, 3 insertions, 1 deletions
diff --git a/html/quotes.jsp b/html/quotes.jsp
index f855044..97e9daf 100644
--- a/html/quotes.jsp
+++ b/html/quotes.jsp
@@ -65,8 +65,10 @@ if (order == null) {
}
lq.Printer printer = new lq.Printer(out);
+long displayIndex = quotes.size() + 1;
for (lq.Quote quote : quotes) {
- printer.printQuote(quote);
+ printer.printQuote(quote, displayIndex);
+ displayIndex = displayIndex - 1;
}
%>